XZES40 Transformer
Choose an XML file, XML stylesheet, and [optional] custom parameters.
Click "Transform Files" to download your transformed documents.
Made in association with the Oregon State University Capstone program and the Apache Software Foundation.
For more information please visit github.com/xzes40/xzes40-transformer


- acquire() - Method in class nachos.threads.Lock
-
Atomically acquire this lock.
- acquire(KThread) - Method in class nachos.threads.PriorityScheduler.PriorityQueue
-
- acquire(PriorityScheduler.PriorityQueue) - Method in class nachos.threads.PriorityScheduler.ThreadState
-
Called when the associated thread has acquired access to whatever is
guarded by waitQueue.
- acquire(KThread) - Method in class nachos.threads.ThreadQueue
-
Notify this thread queue that a thread has received access, without
going through request() and nextThread().
- acquireLock(int) - Method in class nachos.ag.PriorityGraderS1
-
- add(Object) - Method in class nachos.threads.SynchList
-
Add the specified object to the end of the queue.
- addChild(PriorityGraderS1.TreeNode) - Method in class nachos.ag.LotteryGraderS.LotteryTreeNode
-
- addChild(PriorityGraderS1.TreeNode) - Method in class nachos.ag.PriorityGraderS1.TreeNode
-
- addExitNotificationHandler(Runnable) - Method in class nachos.security.Privilege
-
Add an exit() notification handler.
- addRider(RiderInterface, int, int[]) - Method in class nachos.machine.ElevatorBank
-
Add a rider to the simulation.
- AdultRideToMolokai() - Method in class nachos.ag.BoatGrader
-
- AdultRideToOahu() - Method in class nachos.ag.BoatGrader
-
- AdultRowToMolokai() - Method in class nachos.ag.BoatGrader
-
- AdultRowToOahu() - Method in class nachos.ag.BoatGrader
-
- adultsMolokai - Variable in class nachos.ag.BoatGrader
-
- adultsOahu - Variable in class nachos.ag.BoatGrader
-
- advancePC() - Method in class nachos.machine.Processor
-
Advance the PC to the next instruction.
- Alarm - Class in nachos.threads
-
Uses the hardware timer to provide preemption, and to allow threads to sleep
until a certain time.
- Alarm() - Constructor for class nachos.threads.Alarm
-
Allocate a new Alarm.
- alarm - Static variable in class nachos.threads.ThreadedKernel
-
Globally accessible reference to the alarm.
- Alarm.BlockedThread - Class in nachos.threads
-
- ArrayFile - Class in nachos.machine
-
A read-only OpenFile backed by a byte array.
- ArrayFile(byte[]) - Constructor for class nachos.machine.ArrayFile
-
Allocate a new ArrayFile.
- assertCorrectScheduler() - Method in class nachos.ag.LotteryGraderS
-
- assertCorrectScheduler() - Method in class nachos.ag.PriorityGraderS1
-
- assertNotReached() - Static method in class nachos.machine.Lib
-
Asserts that this call is never made.
- assertNotReached(String) - Static method in class nachos.machine.Lib
-
Asserts that this call is never made, with the specified error messsage.
- assertTrue(boolean, String) - Method in class nachos.ag.BasicTestGrader
-
- assertTrue(boolean) - Static method in class nachos.machine.Lib
-
Asserts that expression is true.
- assertTrue(boolean, String) - Static method in class nachos.machine.Lib
-
Asserts that expression is true.
- associateThread(KThread) - Method in interface nachos.security.Privilege.TCBPrivilege
-
Associate the current TCB with the specified KThread.
- authorizeDestroy(KThread) - Method in interface nachos.security.Privilege.TCBPrivilege
-
Authorize the TCB associated with the specified thread to be
destroyed.
- AutoGrader - Class in nachos.ag
-
The default autograder.
- AutoGrader() - Constructor for class nachos.ag.AutoGrader
-
Allocate a new autograder.
- autoGrader() - Static method in class nachos.machine.Machine
-
Return the autograder.
- canReceivePacket(Privilege) - Method in class nachos.ag.AutoGrader
-
Request permission to receive a packet.
- canSendPacket(Privilege) - Method in class nachos.ag.AutoGrader
-
Request permission to send a packet.
- check(boolean, String) - Method in class nachos.ag.BoatGrader
-
- checkConstructor(Class, Class[]) - Static method in class nachos.machine.Lib
-
Verifies that the specified class is public and not abstract, and that a
constructor with the specified signature exists and is public.
- checkDerivation(Class<?>, Class<?>) - Static method in class nachos.machine.Lib
-
Verify that the specified class extends or implements the specified
superclass.
- checkField(Class, String, Class) - Static method in class nachos.machine.Lib
-
Verifies that the specified class is public, and that a non-static field
with the specified name and type exists, is public, and is not final.
- checkMethod(Class, String, Class[], Class) - Static method in class nachos.machine.Lib
-
Verifies that the specified class is public, and that a non-static
method with the specified name and signature exists, is public, and
returns the specified type.
- checkPermission(Permission) - Method in class nachos.security.NachosSecurityManager
-
Check the specified permission.
- checkSemIndex(int) - Method in class nachos.ag.CoffGrader
-
- checkStaticField(Class, String, Class) - Static method in class nachos.machine.Lib
-
Verifies that the specified class is public, and that a static field
with the specified name and type exists and is public.
- checkStaticMethod(Class, String, Class[], Class) - Static method in class nachos.machine.Lib
-
Verifies that the specified class is public, and that a static method
with the specified name and signature exists, is public, and returns the
specified type.
- checkStoreIndex(int) - Method in class nachos.ag.CoffGrader
-
- children - Variable in class nachos.ag.PriorityGraderS1.TreeNode
-
- childrenMolokai - Variable in class nachos.ag.BoatGrader
-
- childrenOahu - Variable in class nachos.ag.BoatGrader
-
- ChildRideToMolokai() - Method in class nachos.ag.BoatGrader
-
- ChildRideToOahu() - Method in class nachos.ag.BoatGrader
-
- ChildRowToMolokai() - Method in class nachos.ag.BoatGrader
-
- ChildRowToOahu() - Method in class nachos.ag.BoatGrader
-
- cloneFile(OpenFile) - Static method in class nachos.machine.Lib
-
Take a read-only snapshot of a file.
- close() - Method in class nachos.machine.ArrayFile
-
- close() - Method in class nachos.machine.Coff
-
Close the executable file and release any resources allocated by this
loader.
- close() - Method in class nachos.machine.OpenFile
-
Close this file and release any associated system resources.
- closeDoors(int) - Method in interface nachos.machine.ElevatorControls
-
Close an elevator's doors.
- Coff - Class in nachos.machine
-
A COFF (common object file format) loader.
- Coff() - Constructor for class nachos.machine.Coff
-
Allocate a new Coff object.
- Coff(OpenFile) - Constructor for class nachos.machine.Coff
-
Load the COFF executable in the specified file.
- coff - Variable in class nachos.machine.CoffSection
-
The COFF object to which this section belongs.
- coff - Variable in class nachos.userprog.UserProcess
-
The program being run by this process.
- CoffGrader - Class in nachos.ag
-
- CoffGrader() - Constructor for class nachos.ag.CoffGrader
-
- CoffGrader.EmbededConsole - Class in nachos.ag
-
- CoffSection - Class in nachos.machine
-
A CoffSection manages a single section within a COFF executable.
- CoffSection(Coff, String, boolean, boolean, int, int) - Constructor for class nachos.machine.CoffSection
-
Allocate a new COFF section with the specified parameters.
- CoffSection(OpenFile, Coff, int) - Constructor for class nachos.machine.CoffSection
-
Load a COFF section from an executable.
- Communicator - Class in nachos.threads
-
A communicator allows threads to synchronously exchange 32-bit
messages.
- Communicator() - Constructor for class nachos.threads.Communicator
-
Allocate a new communicator.
- compareTo(Object) - Method in class nachos.threads.Alarm.BlockedThread
-
- compareTo(Object) - Method in class nachos.threads.KThread
-
Deterministically and consistently compare this thread to another
thread.
- Condition - Class in nachos.threads
-
An implementation of condition variables built upon semaphores.
- Condition(Lock) - Constructor for class nachos.threads.Condition
-
Allocate a new condition variable.
- Condition2 - Class in nachos.threads
-
An implementation of condition variables that disables interrupt()s for
synchronization.
- Condition2(Lock) - Constructor for class nachos.threads.Condition2
-
Allocate a new condition variable.
- Config - Class in nachos.machine
-
Provides routines to access the Nachos configuration.
- Config() - Constructor for class nachos.machine.Config
-
- console() - Static method in class nachos.machine.Machine
-
Return the hardware console.
- console - Static variable in class nachos.userprog.UserKernel
-
Globally accessible reference to the synchronized console.
- ConsoleTime - Static variable in class nachos.machine.Stats
-
The amount of simulated time required for the console to handle a
character.
- constructObject(String) - Static method in class nachos.machine.Lib
-
Create and return a new instance of the named class, using the
constructor that takes no arguments.
- contents - Variable in class nachos.machine.Packet
-
The contents of this packet, excluding the link-layer header.
- contents - Variable in class nachos.network.MailMessage
-
The contents of this message, excluding the mail message header.
- contextSwitch() - Method in class nachos.machine.TCB
-
Context switch between the current TCB and this TCB.
- createLoader(OpenFile) - Method in class nachos.ag.AutoGrader
-
Notify the autograder that a COFF loader is being constructed for the
specified file.
- currentDonate - Variable in class nachos.ag.PriorityGraderS1.TreeNode
-
- currentProcess() - Static method in class nachos.userprog.UserKernel
-
Returns the current process.
- currentTCB() - Static method in class nachos.machine.TCB
-
Return the TCB of the currently running thread.
- currentThread() - Static method in class nachos.threads.KThread
-
Get the current thread.
- debug(char, String) - Static method in class nachos.machine.Lib
-
Print message if flag was enabled on the command line.
- decreasePriority() - Method in class nachos.threads.PriorityScheduler
-
- decreasePriority() - Method in class nachos.threads.Scheduler
-
If possible, lower the priority of the current thread user in some
scheduler-dependent way, preferably by the same amount as would a call
to increasePriority().
- destroy() - Method in class nachos.machine.TCB
-
Destroy this TCB.
- die() - Static method in class nachos.machine.TCB
-
Destroy all TCBs and exit Nachos.
- dirDown - Static variable in class nachos.machine.ElevatorBank
-
Indicates an elevator intends to move down.
- dirDown - Static variable in interface nachos.machine.ElevatorControllerInterface
-
Indicates an elevator intends to move down.
- dirDown - Static variable in interface nachos.machine.RiderInterface
-
Indicates an elevator intends to move down.
- direction - Variable in class nachos.machine.RiderEvent
-
The direction display of the elevator (neither if not applicable).
- dirNeither - Static variable in class nachos.machine.ElevatorBank
-
Indicates an elevator intends not to move.
- dirNeither - Static variable in interface nachos.machine.ElevatorControllerInterface
-
Indicates an elevator intends not to move.
- dirNeither - Static variable in interface nachos.machine.RiderInterface
-
Indicates an elevator intends not to move.
- dirty - Variable in class nachos.machine.TranslationEntry
-
This flag is set to true every time the page is written by a
user program.
- dirUp - Static variable in class nachos.machine.ElevatorBank
-
Indicates an elevator intends to move up.
- dirUp - Static variable in interface nachos.machine.ElevatorControllerInterface
-
Indicates an elevator intends to move up.
- dirUp - Static variable in interface nachos.machine.RiderInterface
-
Indicates an elevator intends to move up.
- disable() - Method in class nachos.machine.Interrupt
-
Disable interrupts and return the old interrupt state.
- disabled() - Method in class nachos.machine.Interrupt
-
Tests whether interrupts are disabled.
- divRoundUp(int, int) - Static method in class nachos.machine.Lib
-
Divide two non-negative integers, round the quotient up to the nearest
integer, and return it.
- DonationGrader - Class in nachos.ag
-
A grader for testing priority donation.
- DonationGrader() - Constructor for class nachos.ag.DonationGrader
-
- doPrivileged(Runnable) - Method in class nachos.security.Privilege
-
Perform the specified action with privilege.
- doPrivileged(PrivilegedAction) - Method in class nachos.security.Privilege
-
Perform the specified PrivilegedAction with privilege.
- doPrivileged(PrivilegedExceptionAction) - Method in class nachos.security.Privilege
-
Perform the specified PrivilegedExceptionAction with privilege.
- dstLink - Variable in class nachos.machine.Packet
-
The address of the destination link of this packet.
- dstPort - Variable in class nachos.network.MailMessage
-
The port used by this message on the destination machine.
- elevator - Variable in class nachos.machine.ElevatorEvent
-
The elevator pertaining to the event, or -1 if not applicable.
- elevator - Variable in class nachos.machine.RiderEvent
-
The elevator pertaining to the event, or -1 if not applicable.
- ElevatorBank - Class in nachos.machine
-
A bank of elevators.
- ElevatorBank(Privilege) - Constructor for class nachos.machine.ElevatorBank
-
Allocate a new elevator bank.
- ElevatorController - Class in nachos.threads
-
A controller for all the elevators in an elevator bank.
- ElevatorController() - Constructor for class nachos.threads.ElevatorController
-
Allocate a new elevator controller.
- ElevatorControllerInterface - Interface in nachos.machine
-
A controller for all the elevators in an elevator bank.
- ElevatorControls - Interface in nachos.machine
-
A set of controls that can be used by an elevator controller.
- ElevatorEvent - Class in nachos.machine
-
An event that affects elevator software.
- ElevatorEvent(int, int, int) - Constructor for class nachos.machine.ElevatorEvent
-
- ElevatorGui - Class in nachos.machine
-
A graphical visualization for the ElevatorBank class.
- ElevatorTest - Class in nachos.machine
-
Tests the ElevatorBank module, using a single elevator and a single
rider.
- ElevatorTest() - Constructor for class nachos.machine.ElevatorTest
-
Allocate a new ElevatorTest object.
- ElevatorTicks - Static variable in class nachos.machine.Stats
-
The amount of simulated time required for an elevator to move a floor.
- embededConsole - Variable in class nachos.ag.CoffGrader
-
- EmbededConsole(Privilege) - Constructor for class nachos.ag.CoffGrader.EmbededConsole
-
- enable() - Method in class nachos.machine.Interrupt
-
Enable interrupts.
- enable() - Method in class nachos.security.NachosSecurityManager
-
Install this security manager.
- enabled() - Method in class nachos.machine.Interrupt
-
Tests whether interrupts are enabled.
- enableDebugFlags(String) - Static method in class nachos.machine.Lib
-
Enable all the debug flags in flagsString.
- enableGui() - Method in class nachos.machine.ElevatorBank
-
Create a GUI for this elevator bank.
- enterElevator(int) - Method in interface nachos.machine.RiderControls
-
Enter an elevator.
- entryPoint - Variable in class nachos.machine.Coff
-
The virtual address of the first instruction of the program.
- event - Variable in class nachos.machine.ElevatorEvent
-
The event identifier.
- event - Variable in class nachos.machine.RiderEvent
-
The event identifier.
- eventDirectionChanged - Static variable in class nachos.machine.RiderEvent
-
An elevator's doors were open and its direction display changed.
- eventDoorsClosed - Static variable in class nachos.machine.RiderEvent
-
An elevator's doors have closed.
- eventDoorsOpened - Static variable in class nachos.machine.RiderEvent
-
An elevator's doors have opened.
- eventDownButtonPressed - Static variable in class nachos.machine.ElevatorEvent
-
A down button was pressed.
- eventElevatorArrived - Static variable in class nachos.machine.ElevatorEvent
-
An elevator has arrived and stopped at its destination floor.
- eventFloorButtonPressed - Static variable in class nachos.machine.ElevatorEvent
-
A floor button was pressed inside an elevator.
- eventRidersDone - Static variable in class nachos.machine.ElevatorEvent
-
All riders have finished; the elevator controller should terminate.
- eventUpButtonPressed - Static variable in class nachos.machine.ElevatorEvent
-
An up button was pressed.
- exceptionAddressError - Static variable in class nachos.machine.Processor
-
Caused by an access to a misaligned virtual address.
- exceptionBusError - Static variable in class nachos.machine.Processor
-
Caused by an access to an invalid physical page.
- exceptionHandler(Privilege) - Method in class nachos.ag.AutoGrader
-
Notify the autograder that a user program executed a syscall instruction.
- exceptionHandler(Privilege) - Method in class nachos.ag.CoffGrader
-
- exceptionHandler() - Method in class nachos.userprog.UserKernel
-
The exception handler.
- exceptionIllegalInstruction - Static variable in class nachos.machine.Processor
-
Caused by an attempt to execute an illegal instruction.
- exceptionNames - Static variable in class nachos.machine.Processor
-
The names of the CPU exceptions.
- exceptionOverflow - Static variable in class nachos.machine.Processor
-
Caused by an overflow by a signed operation.
- exceptionPageFault - Static variable in class nachos.machine.Processor
-
Caused by an access to an invalid virtual page.
- exceptionReadOnly - Static variable in class nachos.machine.Processor
-
Caused by a write access to a read-only virtual page.
- exceptionSyscall - Static variable in class nachos.machine.Processor
-
Caused by a syscall instruction.
- exceptionTLBMiss - Static variable in class nachos.machine.Processor
-
Caused by an access to a virtual page not mapped by any TLB entry.
- executable - Variable in class nachos.machine.CoffSection
-
True if this section contains code.
- execute(String, String[]) - Method in class nachos.userprog.UserProcess
-
Execute the specified program with the specified arguments.
- exit(int) - Method in class nachos.security.Privilege
-
Exit Nachos with the specified status.
- exitElevator(int) - Method in interface nachos.machine.RiderControls
-
Exit the elevator.
- extend(int, int, int) - Static method in class nachos.machine.Lib
-
Mask out and shift a bit substring; then sign extend the substring.
- extract(int, int, int) - Static method in class nachos.machine.Lib
-
Mask out and shift a bit substring.
- extract(long, int, int) - Static method in class nachos.machine.Lib
-
Mask out and shift a bit substring.
- getBoolean(String) - Static method in class nachos.machine.Config
-
Get the value of a boolean key in nachos.conf.
- getBoolean(String, boolean) - Static method in class nachos.machine.Config
-
Get the value of a boolean key in nachos.conf, returning the
specified default if the key does not exist.
- getCoff() - Method in class nachos.machine.CoffSection
-
Return the COFF object used to load this executable instance.
- getCommandLineArguments() - Static method in class nachos.machine.Machine
-
Return an array containing all command line arguments.
- getDirectionDisplay(int) - Method in interface nachos.machine.RiderControls
-
Return the indicated direction of the specified elevator, set by
ElevatorControls.setDirectionDisplay().
- getDouble(String) - Static method in class nachos.machine.Config
-
Get the value of a double key in nachos.conf.
- getDouble(String, double) - Static method in class nachos.machine.Config
-
Get the value of a double key in nachos.conf, returning the
specified default if the key does not exist.
- getEffectivePriority(KThread) - Method in class nachos.threads.PriorityScheduler
-
- getEffectivePriority() - Method in class nachos.threads.PriorityScheduler.ThreadState
-
Return the effective priority of the associated thread.
- getEffectivePriority(KThread) - Method in class nachos.threads.Scheduler
-
Get the effective priority of the specified thread.
- getEffectivePriority() - Method in class nachos.threads.Scheduler
-
Get the effective priority of the current thread.
- getEntryPoint() - Method in class nachos.machine.Coff
-
Return the program entry point.
- getExceptionHandler() - Method in class nachos.machine.Processor
-
Get the exception handler, set by the last call to
setExceptionHandler().
- getFileSystem() - Method in class nachos.machine.OpenFile
-
Get the file system to which this file belongs.
- getFirstVPN() - Method in class nachos.machine.CoffSection
-
Return the first virtual page number used by this section.
- getFloor(int) - Method in interface nachos.machine.ElevatorControls
-
Return the current location of the elevator.
- getFloor() - Method in interface nachos.machine.RiderControls
-
Return the current location of the rider.
- getFloors() - Method in interface nachos.machine.RiderControls
-
Return an array specifying the sequence of floors at which this rider
has successfully exited an elevator.
- getInteger(String) - Static method in class nachos.machine.Config
-
Get the value of an integer key in nachos.conf.
- getInteger(String, int) - Static method in class nachos.machine.Config
-
Get the value of an integer key in nachos.conf, returning the
specified default if the key does not exist.
- getLength() - Method in class nachos.machine.CoffSection
-
Return the length of this section in pages.
- getLinkAddress() - Method in class nachos.machine.NetworkLink
-
Returns the address of this network link.
- getMemory() - Method in class nachos.machine.Processor
-
Return a reference to the physical memory array.
- getName() - Method in class nachos.machine.CoffSection
-
Return the name of this section.
- getName() - Method in class nachos.machine.OpenFile
-
Get the name of this open file.
- getName() - Method in class nachos.threads.KThread
-
Get the name of this thread.
- getNextEvent() - Method in interface nachos.machine.ElevatorControls
-
Return the next event in the event queue.
- getNextEvent() - Method in interface nachos.machine.RiderControls
-
Return the next event in the event queue.
- getNumElevators() - Method in interface nachos.machine.ElevatorControls
-
Return the number of elevators in the elevator bank.
- getNumElevators() - Method in interface nachos.machine.RiderControls
-
Return the number of elevators in the elevator bank.
- getNumFloors() - Method in interface nachos.machine.ElevatorControls
-
Return the number of floors in the elevator bank.
- getNumFloors() - Method in interface nachos.machine.RiderControls
-
Return the number of floors in the elevator bank.
- getNumPhysPages() - Method in class nachos.machine.Processor
-
Return the number of pages of physical memory attached to this simulated
processor.
- getNumSections() - Method in class nachos.machine.Coff
-
Return the number of sections in the executable.
- getPageTable() - Method in class nachos.machine.Processor
-
Get the current page table, set by the last call to setPageTable().
- getPriority() - Method in class nachos.ag.LotteryGraderS.LotteryTreeNode
-
- getPriority() - Method in class nachos.ag.PriorityGraderS1.TreeNode
-
- getPriority(KThread) - Method in class nachos.threads.PriorityScheduler
-
- getPriority() - Method in class nachos.threads.PriorityScheduler.ThreadState
-
Return the priority of the associated thread.
- getPriority(KThread) - Method in class nachos.threads.Scheduler
-
Get the priority of the specified thread.
- getPriority() - Method in class nachos.threads.Scheduler
-
Get the priority of the current thread.
- getPrivilege() - Method in class nachos.security.NachosSecurityManager
-
Return a privilege object for this security manager.
- getProcessClassName() - Static method in class nachos.machine.Machine
-
Return the name of the process class that the kernel should use.
- getRandomPriority() - Method in class nachos.ag.LotteryGraderS
-
- getRandomPriority() - Method in class nachos.ag.PriorityGraderS1
-
- getSection(int) - Method in class nachos.machine.Coff
-
Return an object that can be used to access the specified section.
- getShellProgramName() - Static method in class nachos.machine.Machine
-
Return the name of the shell program that a user-programming kernel
must run.
- getString(String) - Static method in class nachos.machine.Config
-
Get the value of a key in nachos.conf.
- getString(String, String) - Static method in class nachos.machine.Config
-
Get the value of a key in nachos.conf, returning the specified
default if the key does not exist.
- getTestThreadId(String) - Method in class nachos.ag.PriorityGraderS1
-
- getThreadCount() - Method in class nachos.threads.Condition2
-
- getThreadGroup() - Method in class nachos.security.NachosSecurityManager
-
Called by the java.lang.Thread constructor to determine a
thread group for a child thread of the current thread.
- getThreadHandler(KThread) - Method in class nachos.ag.BasicTestGrader
-
- getThreadState(KThread) - Method in class nachos.threads.PriorityScheduler
-
Return the scheduling state of the specified thread.
- getTime() - Method in class nachos.ag.PriorityGraderS1.TreeNode
-
- getTime() - Method in class nachos.machine.Timer
-
Get the current time.
- getTLBSize() - Method in class nachos.machine.Processor
-
Return the number of entries in this processor's TLB.
- getTreeNode(int, PriorityGraderS1.TreeNode, BasicTestGrader.ThreadHandler) - Method in class nachos.ag.LotteryGraderS
-
- getTreeNode(int, PriorityGraderS1.TreeNode, BasicTestGrader.ThreadHandler) - Method in class nachos.ag.PriorityGraderS1
-
- givePrivilege(Privilege) - Static method in class nachos.machine.TCB
-
Give the TCB class the necessary privilege to create threads.
- in - Variable in class nachos.ag.CoffGrader.EmbededConsole
-
- in() - Method in class nachos.ag.CoffGrader.EmbededConsole
-
- in() - Method in class nachos.machine.StandardConsole
-
Attempt to read a byte from the object backing this console.
- increasePriority() - Method in class nachos.threads.PriorityScheduler
-
- increasePriority() - Method in class nachos.threads.Scheduler
-
If possible, raise the priority of the current thread in some
scheduler-dependent way.
- init() - Method in class nachos.ag.CoffGrader
-
- init() - Method in class nachos.ag.FilesysGrader
-
- init() - Method in class nachos.ag.VMGrader
-
- init(int, int, ElevatorControllerInterface) - Method in class nachos.machine.ElevatorBank
-
Initialize this elevator bank with the specified number of elevators and
the specified number of floors.
- initialize(ElevatorControls) - Method in interface nachos.machine.ElevatorControllerInterface
-
Initialize this elevator controller.
- initialize(String[]) - Method in class nachos.machine.Kernel
-
Initialize this kernel.
- initialize(RiderControls, int[]) - Method in interface nachos.machine.RiderInterface
-
Initialize this rider.
- initialize(String[]) - Method in class nachos.network.NetKernel
-
Initialize this kernel.
- initialize(ElevatorControls) - Method in class nachos.threads.ElevatorController
-
Initialize this elevator controller.
- initialize(RiderControls, int[]) - Method in class nachos.threads.Rider
-
Initialize this rider.
- initialize(String[]) - Method in class nachos.threads.ThreadedKernel
-
Initialize this kernel.
- initialize(String[]) - Method in class nachos.userprog.UserKernel
-
Initialize this kernel.
- initialize(String[]) - Method in class nachos.vm.VMKernel
-
Initialize this kernel.
- initializeAdult() - Method in class nachos.ag.BoatGrader
-
- initializeChild() - Method in class nachos.ag.BoatGrader
-
- initialized - Variable in class nachos.machine.CoffSection
-
True if this section contains initialized data.
- initRegisters() - Method in class nachos.userprog.UserProcess
-
Initialize the processor's registers in preparation for running the
program loaded into this process.
- Interrupt - Class in nachos.machine
-
The Interrupt class emulates low-level interrupt hardware.
- Interrupt(Privilege) - Constructor for class nachos.machine.Interrupt
-
Allocate a new interrupt controller.
- interrupt() - Static method in class nachos.machine.Machine
-
Return the hardware interrupt manager.
- interrupt - Variable in class nachos.security.Privilege
-
Provides access to some private Interrupt methods.
- invokeExitNotificationHandlers() - Method in class nachos.security.Privilege
-
Invoke each exit() notification handler added by
addExitNotificationHandler().
- isHeldByCurrentThread() - Method in class nachos.threads.Lock
-
Test if the current thread holds this lock.
- isInitialzed() - Method in class nachos.machine.CoffSection
-
Test whether this section is initialized.
- isNachosThread() - Static method in class nachos.machine.TCB
-
Test if the current JVM thread belongs to a Nachos TCB.
- isReadOnly() - Method in class nachos.machine.CoffSection
-
Test whether this section is read-only.
- length() - Method in class nachos.machine.ArrayFile
-
- length() - Method in class nachos.machine.OpenFile
-
Get the length of this file.
- Lib - Class in nachos.machine
-
Provides miscellaneous library routines.
- linkAddressLimit - Static variable in class nachos.machine.Packet
-
The upper limit on Nachos link addresses.
- listen() - Method in class nachos.threads.Communicator
-
Wait for a thread to speak through this communicator, and then return
the word that thread passed to speak().
- load(String) - Static method in class nachos.machine.Config
-
Load configuration information from the specified file.
- loadClass(String) - Static method in class nachos.machine.Lib
-
Load and return the named class, terminating Nachos on any error.
- loadFile(OpenFile) - Static method in class nachos.machine.Lib
-
Load an entire file into memory.
- loadPage(int, int) - Method in class nachos.machine.CoffSection
-
Load a page from this segment into physical memory.
- loadSections() - Method in class nachos.userprog.UserProcess
-
Allocates memory for this process, and loads the COFF sections into
memory.
- loadSections() - Method in class nachos.vm.VMProcess
-
Initializes page tables for this process so that the executable can be
demand-paged.
- Lock - Class in nachos.threads
-
A Lock is a synchronization primitive that has two states,
busy and free.
- Lock() - Constructor for class nachos.threads.Lock
-
Allocate a new lock.
- LotteryGraderS - Class in nachos.ag
-
A grader for priority scheduling.
- LotteryGraderS() - Constructor for class nachos.ag.LotteryGraderS
-
- LotteryGraderS.LotteryTreeNode - Class in nachos.ag
-
- LotteryScheduler - Class in nachos.threads
-
A scheduler that chooses threads using a lottery.
- LotteryScheduler() - Constructor for class nachos.threads.LotteryScheduler
-
Allocate a new lottery scheduler.
- LotteryTreeNode(int, PriorityGraderS1.TreeNode, BasicTestGrader.ThreadHandler) - Constructor for class nachos.ag.LotteryGraderS.LotteryTreeNode
-
- lowPriority - Static variable in class nachos.ag.DonationGrader
-
- Machine - Class in nachos.machine
-
The master class of the simulated machine.
- machine - Variable in class nachos.security.Privilege
-
Provides access to some private Machine methods.
- MailMessage - Class in nachos.network
-
A mail message.
- MailMessage(int, int, int, int, byte[]) - Constructor for class nachos.network.MailMessage
-
Allocate a new mail message to be sent, using the specified parameters.
- MailMessage(Packet) - Constructor for class nachos.network.MailMessage
-
Allocate a new mail message using the specified packet from the network.
- main(String[]) - Static method in class nachos.machine.Machine
-
Nachos main entry point.
- makeAddress(int, int) - Static method in class nachos.machine.Processor
-
Concatenate a page number and an offset into an address.
- MalformedPacketException - Exception in nachos.machine
-
Thrown when a malformed packet is processed.
- MalformedPacketException() - Constructor for exception nachos.machine.MalformedPacketException
-
Allocate a new MalformedPacketException.
- maxContentsLength - Static variable in class nachos.machine.Packet
-
The maximum number of content bytes (not including the header).
- maxContentsLength - Static variable in class nachos.network.MailMessage
-
Maximum payload (real data) that can be included in a single mesage.
- maxPacketLength - Static variable in class nachos.machine.Packet
-
The maximum length, in bytes, of a packet that can be sent or received
on the network.
- maxPages - Static variable in class nachos.machine.Processor
-
Number of pages in a 32-bit address space.
- maxThreads - Static variable in class nachos.machine.TCB
-
The maximum number of started, non-destroyed TCB's that can be in
existence.
- metricMode - Variable in class nachos.ag.CoffGrader
-
- midPriority - Static variable in class nachos.ag.DonationGrader
-
- moveTo(int, int) - Method in interface nachos.machine.ElevatorControls
-
Move an elevator to another floor.
- nachos.ag - package nachos.ag
-
Provides classes that can be used to automatically grade Nachos projects.
- nachos.machine - package nachos.machine
-
Provides classes that implement the Nachos simulated machine.
- nachos.network - package nachos.network
-
Provides classes that allow Nachos processes to communicate over the network.
- nachos.security - package nachos.security
-
Provides classes that can be used to protect the host system from malicious
Nachos kernels.
- nachos.threads - package nachos.threads
-
Provides classes that support a multithreaded kernel.
- nachos.userprog - package nachos.userprog
-
Provides classes that allow Nachos to load and execute single-threaded user
programs in separate address spaces.
- nachos.vm - package nachos.vm
-
Provides classes that allow Nachos processes to be demand paged, and to use a
hardware TLB for address translation.
- NachosSecurityManager - Class in nachos.security
-
Protects the environment from malicious Nachos code.
- NachosSecurityManager(File) - Constructor for class nachos.security.NachosSecurityManager
-
Allocate a new Nachos security manager.
- name - Variable in class nachos.machine.CoffSection
-
The COFF name of this section.
- NetKernel - Class in nachos.network
-
A kernel with network support.
- NetKernel() - Constructor for class nachos.network.NetKernel
-
Allocate a new networking kernel.
- NetProcess - Class in nachos.network
-
A VMProcess that supports networking syscalls.
- NetProcess() - Constructor for class nachos.network.NetProcess
-
Allocate a new process.
- networkID - Static variable in class nachos.machine.NetworkLink
-
The address of the network to which are attached all network links in
this JVM.
- networkLink() - Static method in class nachos.machine.Machine
-
Return the network link.
- NetworkLink - Class in nachos.machine
-
A full-duplex network link.
- NetworkLink(Privilege) - Constructor for class nachos.machine.NetworkLink
-
Allocate a new network link.
- NetworkTime - Static variable in class nachos.machine.Stats
-
The amount of simulated time required for the network to handle a
packet.
- newThreadQueue(boolean) - Method in class nachos.threads.LotteryScheduler
-
Allocate a new lottery thread queue.
- newThreadQueue(boolean) - Method in class nachos.threads.PriorityScheduler
-
Allocate a new priority thread queue.
- newThreadQueue(boolean) - Method in class nachos.threads.RoundRobinScheduler
-
Allocate a new FIFO thread queue.
- newThreadQueue(boolean) - Method in class nachos.threads.Scheduler
-
Allocate a new thread queue.
- newUserProcess() - Static method in class nachos.userprog.UserProcess
-
Allocate and return a new process of the correct class.
- nextThread() - Method in class nachos.threads.PriorityScheduler.PriorityQueue
-
- nextThread() - Method in class nachos.threads.ThreadQueue
-
Notify this thread queue that another thread can receive access.
- numConsoleReads - Variable in class nachos.machine.Stats
-
The total number of characters Nachos has read from the console.
- numConsoleWrites - Variable in class nachos.machine.Stats
-
The total number of characters Nachos has written to the console.
- numDiskReads - Variable in class nachos.machine.Stats
-
The total number of sectors Nachos has read from the simulated disk.
- numDiskWrites - Variable in class nachos.machine.Stats
-
The total number of sectors Nachos has written to the simulated disk.
- numPacketsReceived - Variable in class nachos.machine.Stats
-
The total number of packets Nachos has received from the network.
- numPacketsSent - Variable in class nachos.machine.Stats
-
The total number of packets Nachos has sent to the network.
- numPageFaults - Variable in class nachos.machine.Stats
-
The total number of page faults that have occurred.
- numPages - Variable in class nachos.machine.CoffSection
-
The number of virtual pages in this section.
- numPages - Variable in class nachos.userprog.UserProcess
-
The number of contiguous pages occupied by the program.
- numTLBMisses - Variable in class nachos.machine.Stats
-
The total number of TLB misses that have occurred.
- numUserRegisters - Static variable in class nachos.machine.Processor
-
The total number of software-accessible CPU registers.
- P() - Method in class nachos.threads.Semaphore
-
Atomically wait for this semaphore to become non-zero and decrement it.
- Packet - Class in nachos.machine
-
A link-layer packet.
- Packet(int, int, byte[]) - Constructor for class nachos.machine.Packet
-
Allocate a new packet to be sent, using the specified parameters.
- Packet(byte[]) - Constructor for class nachos.machine.Packet
-
Allocate a new packet using the specified array of bytes received from
the network.
- packet - Variable in class nachos.network.MailMessage
-
This message, as a packet that can be sent through a network link.
- packetBytes - Variable in class nachos.machine.Packet
-
This packet, as an array of bytes that can be sent on a network.
- pageFromAddress(int) - Static method in class nachos.machine.Processor
-
Extract the page number component from a 32-bit address.
- pageSize - Static variable in class nachos.machine.Processor
-
Size of a page, in bytes.
- pageTable - Variable in class nachos.userprog.UserProcess
-
This process's page table.
- params - Variable in class nachos.ag.CoffGrader
-
- parent - Variable in class nachos.ag.PriorityGraderS1.TreeNode
-
- pickNextThread() - Method in class nachos.threads.PriorityScheduler.PriorityQueue
-
Return the next thread that nextThread() would return,
without modifying the state of this queue.
- portLimit - Static variable in class nachos.network.MailMessage
-
The upper limit on mail ports.
- position - Variable in class nachos.machine.OpenFileWithPosition
-
The current value of the file pointer.
- PostOffice - Class in nachos.network
-
A collection of message queues, one for each local port.
- PostOffice() - Constructor for class nachos.network.PostOffice
-
Allocate a new post office, using an array of SynchLists.
- ppn - Variable in class nachos.machine.TranslationEntry
-
The physical page number.
- pressDirectionButton(boolean) - Method in interface nachos.machine.RiderControls
-
Press a direction button.
- pressDownButton() - Method in interface nachos.machine.RiderControls
-
Press the down button.
- pressFloorButton(int) - Method in interface nachos.machine.RiderControls
-
Press a floor button.
- pressUpButton() - Method in interface nachos.machine.RiderControls
-
Press the up button.
- print() - Method in class nachos.machine.Stats
-
Print out the statistics in this object.
- print() - Method in class nachos.threads.PriorityScheduler.PriorityQueue
-
- print() - Method in class nachos.threads.ThreadQueue
-
Print out all the threads waiting for access, in no particular order.
- printChild(int) - Method in class nachos.ag.PriorityGraderS1.TreeNode
-
- priority - Variable in class nachos.ag.PriorityGraderS1.TreeNode
-
- priority - Variable in class nachos.threads.PriorityScheduler.ThreadState
-
The priority of the associated thread.
- priorityDefault - Static variable in class nachos.threads.PriorityScheduler
-
The default priority for a new thread.
- PriorityGrader - Class in nachos.ag
-
A naive grader for priority scheduling.
- PriorityGrader() - Constructor for class nachos.ag.PriorityGrader
-
- PriorityGraderS1 - Class in nachos.ag
-
A grader for priority scheduling.
- PriorityGraderS1() - Constructor for class nachos.ag.PriorityGraderS1
-
- PriorityGraderS1.TreeNode - Class in nachos.ag
-
- priorityMaximum - Static variable in class nachos.threads.PriorityScheduler
-
The maximum priority that a thread can have.
- priorityMinimum - Static variable in class nachos.threads.PriorityScheduler
-
The minimum priority that a thread can have.
- PriorityScheduler - Class in nachos.threads
-
A scheduler that chooses threads based on their priorities.
- PriorityScheduler() - Constructor for class nachos.threads.PriorityScheduler
-
Allocate a new priority scheduler.
- PriorityScheduler.PriorityQueue - Class in nachos.threads
-
A ThreadQueue that sorts threads by priority.
- PriorityScheduler.ThreadState - Class in nachos.threads
-
The scheduling state of a thread.
- Privilege - Class in nachos.security
-
A capability that allows privileged access to the Nachos machine.
- Privilege() - Constructor for class nachos.security.Privilege
-
Allocate a new Privilege object.
- Privilege.InterruptPrivilege - Interface in nachos.security
-
An interface that provides access to some private Interrupt
methods.
- Privilege.MachinePrivilege - Interface in nachos.security
-
An interface that provides access to some private Machine
methods.
- Privilege.ProcessorPrivilege - Interface in nachos.security
-
An interface that provides access to some private Processor
methods.
- Privilege.TCBPrivilege - Interface in nachos.security
-
An interface that provides access to some private TCB methods.
- process - Variable in class nachos.userprog.UThread
-
The process to which this thread belongs.
- processor() - Static method in class nachos.machine.Machine
-
Return the MIPS processor.
- Processor - Class in nachos.machine
-
The Processor class simulates a MIPS processor that supports a
subset of the R3000 instruction set.
- Processor(Privilege, int) - Constructor for class nachos.machine.Processor
-
Allocate a new MIPS processor, with the specified amount of memory.
- processor - Variable in class nachos.security.Privilege
-
Provides access to some private Processor methods.
- random(int) - Static method in class nachos.machine.Lib
-
Return a random integer between 0 and range - 1.
- random() - Static method in class nachos.machine.Lib
-
Return a random double between 0.0 (inclusive) and 1.0 (exclusive).
- read(int, byte[], int, int) - Method in class nachos.machine.ArrayFile
-
- read(int, byte[], int, int) - Method in class nachos.machine.OpenFile
-
Read this file starting at the specified position and return the number
of bytes successfully read.
- read(byte[], int, int) - Method in class nachos.machine.OpenFile
-
Read this file starting at the current file pointer and return the
number of bytes successfully read.
- read(byte[], int, int) - Method in class nachos.machine.OpenFileWithPosition
-
- readByte() - Method in interface nachos.machine.SerialConsole
-
Return the next unsigned byte received (in the range 0 through
255).
- readByte() - Method in class nachos.machine.StandardConsole
-
- readByte(boolean) - Method in class nachos.userprog.SynchConsole
-
Return the next unsigned byte received (in the range 0 through
255).
- readOnly - Variable in class nachos.machine.CoffSection
-
True if this section is read-only.
- readOnly - Variable in class nachos.machine.TranslationEntry
-
If this flag is true, the user pprogram is not allowed to
modify the contents of this virtual page.
- readRegister(int) - Method in class nachos.machine.Processor
-
Read and return the contents of the specified CPU register.
- readTLBEntry(int) - Method in class nachos.machine.Processor
-
Returns the specified TLB entry.
- readVirtualMemory(int, byte[]) - Method in class nachos.userprog.UserProcess
-
Transfer data from this process's virtual memory to all of the specified
array.
- readVirtualMemory(int, byte[], int, int) - Method in class nachos.userprog.UserProcess
-
Transfer data from this process's virtual memory to the specified array.
- readVirtualMemoryString(int, int) - Method in class nachos.userprog.UserProcess
-
Read a null-terminated string from this process's virtual memory.
- ready - Variable in class nachos.ag.PriorityGraderS1
-
- ready() - Method in class nachos.threads.KThread
-
Moves this thread to the ready state and adds this to the scheduler's
ready queue.
- readyThread(KThread) - Method in class nachos.ag.AutoGrader
-
Notify the autograder that the specified thread has moved to the ready
state.
- readyThread(KThread) - Method in class nachos.ag.BoatGrader
-
- readyThread(KThread) - Method in class nachos.ag.PriorityGrader
-
- readyThread(KThread) - Method in class nachos.ag.PriorityGraderS1
-
- receive() - Method in class nachos.machine.NetworkLink
-
Return the next packet received.
- receive(int) - Method in class nachos.network.PostOffice
-
Retrieve a message on the specified port, waiting if necessary.
- regA0 - Static variable in class nachos.machine.Processor
-
Index of argument register 0.
- regA1 - Static variable in class nachos.machine.Processor
-
Index of argument register 1.
- regA2 - Static variable in class nachos.machine.Processor
-
Index of argument register 2.
- regA3 - Static variable in class nachos.machine.Processor
-
Index of argument register 3.
- regBadVAddr - Static variable in class nachos.machine.Processor
-
Index of the exception bad virtual address register.
- regCause - Static variable in class nachos.machine.Processor
-
Index of the exception cause register.
- regHi - Static variable in class nachos.machine.Processor
-
Index of the high register, used for multiplication and division.
- regLo - Static variable in class nachos.machine.Processor
-
Index of the low register, used for multiplication and division.
- regNextPC - Static variable in class nachos.machine.Processor
-
Index of the next program counter register.
- regPC - Static variable in class nachos.machine.Processor
-
Index of the program counter register.
- regRA - Static variable in class nachos.machine.Processor
-
Index of the return address register.
- regSP - Static variable in class nachos.machine.Processor
-
Index of the stack pointer register.
- regV0 - Static variable in class nachos.machine.Processor
-
Index of return value register 0.
- regV1 - Static variable in class nachos.machine.Processor
-
Index of return value register 1.
- release() - Method in class nachos.threads.Lock
-
Atomically release this lock, allowing other threads to acquire it.
- releaseChild(PriorityGraderS1.TreeNode) - Method in class nachos.ag.LotteryGraderS.LotteryTreeNode
-
- releaseChild(PriorityGraderS1.TreeNode) - Method in class nachos.ag.PriorityGraderS1.TreeNode
-
- releaseLock(int) - Method in class nachos.ag.PriorityGraderS1
-
- remove(String) - Method in interface nachos.machine.FileSystem
-
Atomically remove an existing file.
- remove(String) - Method in class nachos.machine.StubFileSystem
-
- removeFirst() - Method in class nachos.threads.SynchList
-
Remove an object from the front of the queue, blocking until the queue
is non-empty if necessary.
- restore(boolean) - Method in class nachos.machine.Interrupt
-
Restore interrupts to the specified status.
- restoreState() - Method in class nachos.threads.KThread
-
Prepare this thread to be run.
- restoreState() - Method in class nachos.userprog.UserProcess
-
Restore the state of this process after a context switch.
- restoreState() - Method in class nachos.userprog.UThread
-
Restore state before receiving the processor again.
- restoreState() - Method in class nachos.vm.VMProcess
-
Restore the state of this process after a context switch.
- Rider - Class in nachos.threads
-
A single rider.
- Rider() - Constructor for class nachos.threads.Rider
-
Allocate a new rider.
- RiderControls - Interface in nachos.machine
-
A set of controls that can be used by a rider controller.
- RiderEvent - Class in nachos.machine
-
An event that affects rider software.
- RiderEvent(int, int, int, int) - Constructor for class nachos.machine.RiderEvent
-
- RiderInterface - Interface in nachos.machine
-
A single rider.
- RotationTime - Static variable in class nachos.machine.Stats
-
The amount of simulated time required to rotate the disk 360 degrees.
- RoundRobinScheduler - Class in nachos.threads
-
A round-robin scheduler tracks waiting threads in FIFO queues, implemented
with linked lists.
- RoundRobinScheduler() - Constructor for class nachos.threads.RoundRobinScheduler
-
Allocate a new round-robin scheduler.
- run() - Method in class nachos.ag.CoffGrader
-
- run() - Method in class nachos.ag.DonationGrader
-
- run() - Method in class nachos.ag.PriorityGrader
-
- run() - Method in class nachos.ag.PriorityGraderS1
-
- run() - Method in class nachos.ag.ThreadGrader1
-
- run() - Method in class nachos.ag.ThreadGrader2
-
- run() - Method in class nachos.ag.ThreadGrader4
-
- run() - Method in class nachos.ag.ThreadGrader5
-
- run() - Method in class nachos.ag.ThreadGrader6
-
- run() - Method in class nachos.ag.ThreadGrader7
-
- run() - Method in class nachos.ag.ThreadGrader8
-
- run() - Method in class nachos.ag.UserGrader1
-
- run() - Method in class nachos.machine.ElevatorBank
-
Run a simulation.
- run() - Method in interface nachos.machine.ElevatorControllerInterface
-
Cause the controller to use the provided controls to receive and process
requests from riders.
- run() - Method in class nachos.machine.ElevatorTest
-
Run a test on Machine.bank().
- run() - Method in class nachos.machine.Kernel
-
Begin executing user programs, if applicable.
- run() - Method in class nachos.machine.Processor
-
Start executing instructions at the current PC.
- run() - Method in interface nachos.machine.RiderInterface
-
Cause the rider to use the provided controls to make the stops specified
in the constructor.
- run() - Method in class nachos.network.NetKernel
-
Start running user programs.
- run() - Method in class nachos.threads.ElevatorController
-
Cause the controller to use the provided controls to receive and process
requests from riders.
- run() - Method in class nachos.threads.Rider
-
Cause the rider to use the provided controls to make the stops specified
in the constructor.
- run() - Method in class nachos.threads.ThreadedKernel
-
A threaded kernel does not run user programs, so this method does
nothing.
- run() - Method in class nachos.userprog.UserKernel
-
Start running user programs, by creating a process and running a shell
program in it.
- run() - Method in class nachos.vm.VMKernel
-
Start running user programs.
- runningThread(KThread) - Method in class nachos.ag.AutoGrader
-
Notify the autograder that the specified thread is now running.
- runningThread(KThread) - Method in class nachos.ag.BasicTestGrader
-
- runningThread(KThread) - Method in class nachos.ag.LotteryGraderS
-
- runningThread(KThread) - Method in class nachos.ag.PriorityGrader
-
- runningThread(KThread) - Method in class nachos.ag.PriorityGraderS1
-
- runningThread(KThread, boolean) - Method in class nachos.ag.PriorityGraderS1
-
- runProcessor(Privilege) - Method in class nachos.ag.AutoGrader
-
Notify the autograder that Processor.run() was invoked.
- runThread(int, int) - Method in class nachos.ag.PriorityGraderS1
-
- saveState() - Method in class nachos.threads.KThread
-
Prepare this thread to give up the processor.
- saveState() - Method in class nachos.userprog.UserProcess
-
Save the state of this process in preparation for a context switch.
- saveState() - Method in class nachos.userprog.UThread
-
Save state before giving up the processor to another thread.
- saveState() - Method in class nachos.vm.VMProcess
-
Save the state of this process in preparation for a context switch.
- schedule(long, String, Runnable) - Method in interface nachos.security.Privilege.InterruptPrivilege
-
Schedule an interrupt to occur at some time in the future.
- Scheduler - Class in nachos.threads
-
Coordinates a group of thread queues of the same kind.
- Scheduler() - Constructor for class nachos.threads.Scheduler
-
Allocate a new scheduler.
- scheduler - Static variable in class nachos.threads.ThreadedKernel
-
Globally accessible reference to the scheduler.
- schedulingState - Variable in class nachos.threads.KThread
-
Additional state used by schedulers.
- sections - Variable in class nachos.machine.Coff
-
The sections in this COFF executable.
- seedRandom(long) - Static method in class nachos.machine.Lib
-
Seed the random number generater.
- seek(int) - Method in class nachos.machine.OpenFile
-
Set the value of the current file pointer.
- seek(int) - Method in class nachos.machine.OpenFileWithPosition
-
- SeekTime - Static variable in class nachos.machine.Stats
-
The amount of simulated time required for the disk to seek.
- selfTest() - Static method in class nachos.machine.ElevatorBank
-
Tests whether this module is working.
- selfTest() - Method in class nachos.machine.Kernel
-
Test that this module works.
- selfTest() - Method in class nachos.network.NetKernel
-
Test the network.
- selfTest() - Static method in class nachos.threads.Boat
-
- selfTest() - Static method in class nachos.threads.KThread
-
Tests whether this module is working.
- selfTest() - Static method in class nachos.threads.Semaphore
-
Test if this module is working.
- selfTest() - Static method in class nachos.threads.SynchList
-
Test that this module is working.
- selfTest() - Method in class nachos.threads.ThreadedKernel
-
Test this kernel.
- selfTest() - Method in class nachos.userprog.UserKernel
-
Test the console device.
- selfTest() - Method in class nachos.vm.VMKernel
-
Test this kernel.
- Semaphore - Class in nachos.threads
-
A Semaphore is a synchronization primitive with an unsigned value.
- Semaphore(int) - Constructor for class nachos.threads.Semaphore
-
Allocate a new semaphore.
- semaphores - Variable in class nachos.ag.CoffGrader
-
- send(Packet) - Method in class nachos.machine.NetworkLink
-
Send another packet.
- send(MailMessage) - Method in class nachos.network.PostOffice
-
Send a message to a mailbox on a remote machine.
- SerialConsole - Interface in nachos.machine
-
A serial console can be used to send and receive characters.
- setConsole(SerialConsole) - Method in interface nachos.security.Privilege.MachinePrivilege
-
Install a hardware console.
- setDirectionDisplay(int, int) - Method in interface nachos.machine.ElevatorControls
-
Set which direction the elevator bank will show for this elevator's
display.
- setExceptionHandler(Runnable) - Method in class nachos.machine.Processor
-
Set the exception handler, called whenever a user exception occurs.
- setIdleThread(KThread) - Method in class nachos.ag.AutoGrader
-
Notify the autograder that the specified thread is the idle thread.
- setIdleThread(KThread) - Method in class nachos.ag.BoatGrader
-
- setInterruptHandler(Runnable) - Method in interface nachos.machine.ElevatorControls
-
Set the elevator interrupt handler.
- setInterruptHandler(Runnable) - Method in interface nachos.machine.RiderControls
-
Set the rider's interrupt handler.
- setInterruptHandler(Runnable) - Method in class nachos.machine.Timer
-
Set the callback to use as a timer interrupt handler.
- setInterruptHandlers(Runnable, Runnable) - Method in class nachos.machine.NetworkLink
-
Set this link's receive and send interrupt handlers.
- setInterruptHandlers(Runnable, Runnable) - Method in interface nachos.machine.SerialConsole
-
Set this console's receive and send interrupt handlers.
- setInterruptHandlers(Runnable, Runnable) - Method in class nachos.machine.StandardConsole
-
- setName(String) - Method in class nachos.threads.KThread
-
Set the name of this thread.
- setPageTable(TranslationEntry[]) - Method in class nachos.machine.Processor
-
Set the page table pointer.
- setPriority(int) - Method in class nachos.ag.PriorityGraderS1.TreeNode
-
- setPriority(KThread, int) - Method in class nachos.threads.PriorityScheduler
-
- setPriority(int) - Method in class nachos.threads.PriorityScheduler.ThreadState
-
Set the priority of the associated thread to the specified value.
- setPriority(KThread, int) - Method in class nachos.threads.Scheduler
-
Set the priority of the specified thread.
- setPriority(int) - Method in class nachos.threads.Scheduler
-
Set the priority of the current thread.
- setStatus(boolean) - Method in class nachos.machine.Interrupt
-
Set the interrupt status to be enabled (true) or disabled
(false) and return the previous status.
- setTarget(Runnable) - Method in class nachos.threads.KThread
-
Set the target of this thread.
- setTime(long) - Method in class nachos.ag.PriorityGraderS1.TreeNode
-
- sleep() - Method in class nachos.threads.Condition
-
Atomically release the associated lock and go to sleep on this condition
variable until another thread wakes it using wake().
- sleep() - Method in class nachos.threads.Condition2
-
Atomically release the associated lock and go to sleep on this condition
variable until another thread wakes it using wake().
- sleep() - Static method in class nachos.threads.KThread
-
Relinquish the CPU, because the current thread has either finished or it
is blocked.
- speak(int) - Method in class nachos.threads.Communicator
-
Wait for a thread to listen through this communicator, and then transfer
word to the listener.
- srcLink - Variable in class nachos.machine.Packet
-
The address of the source link of this packet.
- srcPort - Variable in class nachos.network.MailMessage
-
The port used by this message on the source machine.
- stackPages - Variable in class nachos.userprog.UserProcess
-
The number of pages in the program's stack.
- StandardConsole - Class in nachos.machine
-
A text-based console that uses System.in and System.out.
- StandardConsole(Privilege) - Constructor for class nachos.machine.StandardConsole
-
Allocate a new standard console.
- start(Privilege) - Method in class nachos.ag.AutoGrader
-
Start this autograder.
- start(Runnable) - Method in class nachos.machine.TCB
-
Causes the thread represented by this TCB to begin execution.
- startTest(int, int) - Method in class nachos.ag.BoatGrader
-
- Stats - Class in nachos.machine
-
An object that maintains Nachos runtime statistics.
- Stats() - Constructor for class nachos.machine.Stats
-
Allocate a new statistics object.
- stats - Variable in class nachos.security.Privilege
-
Nachos runtime statistics.
- storeValues - Variable in class nachos.ag.CoffGrader
-
- strictReadFile(OpenFile, int, byte[], int, int) - Static method in class nachos.machine.Lib
-
Read a file, verifying that the requested number of bytes is read, and
verifying that the read operation took a non-zero amount of time.
- stubFileSystem() - Static method in class nachos.machine.Machine
-
Return the stub filesystem.
- StubFileSystem - Class in nachos.machine
-
This class implements a file system that redirects all requests to the host
operating system's file system.
- StubFileSystem(Privilege, File) - Constructor for class nachos.machine.StubFileSystem
-
Allocate a new stub file system.
- SynchConsole - Class in nachos.userprog
-
Provides a simple, synchronized interface to the machine's console.
- SynchConsole(SerialConsole) - Constructor for class nachos.userprog.SynchConsole
-
Allocate a new SynchConsole.
- SynchList - Class in nachos.threads
-
A synchronized queue.
- SynchList() - Constructor for class nachos.threads.SynchList
-
Allocate a new synchronized queue.
- t - Variable in class nachos.threads.Alarm.BlockedThread
-
- TCB - Class in nachos.machine
-
A TCB simulates the low-level details necessary to create, context-switch,
and destroy Nachos threads.
- TCB() - Constructor for class nachos.machine.TCB
-
Allocate a new TCB.
- tcb - Variable in class nachos.security.Privilege
-
Provides access to some private TCB methods.
- tell() - Method in class nachos.machine.OpenFile
-
Get the value of the current file pointer, or -1 if this file has no
pointer.
- tell() - Method in class nachos.machine.OpenFileWithPosition
-
- terminate() - Method in class nachos.machine.Kernel
-
Terminate this kernel.
- terminate() - Static method in class nachos.machine.Machine
-
Terminate Nachos.
- terminate(Throwable) - Static method in class nachos.machine.Machine
-
Terminate Nachos as the result of an unhandled exception or error.
- terminate() - Method in class nachos.network.NetKernel
-
Terminate this kernel.
- terminate() - Method in class nachos.threads.ThreadedKernel
-
Terminate this kernel.
- terminate() - Method in class nachos.userprog.UserKernel
-
Terminate this kernel.
- terminate() - Method in class nachos.vm.VMKernel
-
Terminate this kernel.
- test(char) - Static method in class nachos.machine.Lib
-
Tests if flag was enabled on the command line.
- test(long, long) - Static method in class nachos.machine.Lib
-
Test if a bit is set in a bit string.
- testDirectory - Variable in class nachos.ag.CoffGrader
-
- testRoot - Variable in class nachos.ag.CoffGrader
-
- thd - Variable in class nachos.ag.PriorityGraderS1.TreeNode
-
- thdPrefix - Static variable in class nachos.ag.PriorityGraderS1
-
- thread - Variable in class nachos.threads.PriorityScheduler.ThreadState
-
The thread with which this object is associated.
- ThreadedKernel - Class in nachos.threads
-
A multi-threaded OS kernel.
- ThreadedKernel() - Constructor for class nachos.threads.ThreadedKernel
-
Allocate a new multi-threaded kernel.
- ThreadGrader1 - Class in nachos.ag
-
ThreadGrader1:
Condition2
Test ThreadGrader1.a: Tests your condition variables using a few threads
Test ThreadGrader1.b: Tests your condition variables using many threads
- ThreadGrader1() - Constructor for class nachos.ag.ThreadGrader1
-
- ThreadGrader2 - Class in nachos.ag
-
ThreadGrader2:
Communicator
Test ThreadGrader2.a: Tests your communicator
Test ThreadGrader2.b: Tests your communicator, with more
speakers/listeners
Test ThreadGrader2.c: Tests your communicator, with more
speakers/listneers, and transmits more messages
- ThreadGrader2() - Constructor for class nachos.ag.ThreadGrader2
-
- ThreadGrader3 - Class in nachos.ag
-
ThreadGrader3:
Join
Test ThreadGrader3.a: Tries a join on thread x before x actually runs
Test ThreadGrader3.b: Tries a join on thread x after x has completed
- ThreadGrader3() - Constructor for class nachos.ag.ThreadGrader3
-
- ThreadGrader4 - Class in nachos.ag
-
ThreadGrader4:
WaitUntil
Test ThreadGrader4.a: Tests waitUntil to ensure it waits at least
minimum amount of time
Test ThreadGrader4.b: Tests whether waitUntil actually wakes up at
correct time
- ThreadGrader4() - Constructor for class nachos.ag.ThreadGrader4
-
- ThreadGrader5 - Class in nachos.ag
-
ThreadGrader5:
Priority Scheduling
Test ThreadGrader5.a: Tests priority scheduler without donation
Test ThreadGrader5.b: Tests priority scheduler without donation, altering
priorities of threads after they've started running
- ThreadGrader5() - Constructor for class nachos.ag.ThreadGrader5
-
- ThreadGrader6 - Class in nachos.ag
-
ThreadGrader6:
More Priority Scheduling
Test ThreadGrader6.a: Tests priority donation
Test ThreadGrader6.b: Tests priority donation with more locks and more
complicated resource allocation
- ThreadGrader6() - Constructor for class nachos.ag.ThreadGrader6
-
- ThreadGrader7 - Class in nachos.ag
-
ThreadGrader7:
Lottery Scheduling
Test ThreadGrader7.a: Tests lottery scheduler without donation
Test ThreadGrader7.b: Tests lottery scheduler without donation, altering
priorities of threads after they've started running
- ThreadGrader7() - Constructor for class nachos.ag.ThreadGrader7
-
- ThreadGrader8 - Class in nachos.ag
-
ThreadGrader8:
More Lottery Scheduling
Test ThreadGrader8.a: Tests priority donation
Test ThreadGrader8.b: Tests priority donation with more locks and more
complicated resource allocation
- ThreadGrader8() - Constructor for class nachos.ag.ThreadGrader8
-
- ThreadHandler(KThread) - Constructor for class nachos.ag.BasicTestGrader.ThreadHandler
-
- ThreadQueue - Class in nachos.threads
-
Schedules access to some sort of resource with limited access constraints.
- ThreadQueue() - Constructor for class nachos.threads.ThreadQueue
-
- ThreadState(KThread) - Constructor for class nachos.threads.PriorityScheduler.ThreadState
-
Allocate a new ThreadState object and associate it with the
specified thread.
- tick(boolean) - Method in interface nachos.security.Privilege.InterruptPrivilege
-
Advance the simulated time.
- time - Variable in class nachos.ag.PriorityGraderS1.TreeNode
-
- timeDoorsOpen - Static variable in interface nachos.machine.ElevatorControllerInterface
-
The number of ticks doors should be held open before closing them.
- timer() - Static method in class nachos.machine.Machine
-
Return the hardware timer.
- Timer - Class in nachos.machine
-
A hardware timer generates a CPU timer interrupt approximately every 500
clock ticks.
- Timer(Privilege) - Constructor for class nachos.machine.Timer
-
Allocate a new timer.
- timerInterrupt(Privilege, long) - Method in class nachos.ag.AutoGrader
-
Notify the autograder that a timer interrupt occurred and was handled by
software if a timer interrupt handler was installed.
- timerInterrupt() - Method in class nachos.threads.Alarm
-
The timer interrupt handler.
- TimerTicks - Static variable in class nachos.machine.Stats
-
The mean amount of simulated time between timer interrupts.
- toHexString(int) - Static method in class nachos.machine.Lib
-
Creates a padded upper-case string representation of the integer
argument in base 16.
- toHexString(int, int) - Static method in class nachos.machine.Lib
-
Creates a padded upper-case string representation of the integer
argument in base 16, padding to at most the specified number of digits.
- toString() - Method in class nachos.network.MailMessage
-
Return a string representation of the message headers.
- toString() - Method in class nachos.threads.KThread
-
Get the full name of this thread.
- totalTicks - Variable in class nachos.machine.Stats
-
The total amount of simulated time that has passed since Nachos
started.
- transferPriority - Variable in class nachos.threads.PriorityScheduler.PriorityQueue
-
true if this queue should transfer priority from waiting
threads to the owning thread.
- TranslationEntry - Class in nachos.machine
-
A single translation between a virtual page and a physical page.
- TranslationEntry() - Constructor for class nachos.machine.TranslationEntry
-
Allocate a new invalid translation entry.
- TranslationEntry(int, int, boolean, boolean, boolean, boolean) - Constructor for class nachos.machine.TranslationEntry
-
Allocate a new translation entry with the specified initial state.
- TranslationEntry(TranslationEntry) - Constructor for class nachos.machine.TranslationEntry
-
Allocate a new translation entry, copying the contents of an existing
one.
- TreeNode(int, PriorityGraderS1.TreeNode, BasicTestGrader.ThreadHandler) - Constructor for class nachos.ag.PriorityGraderS1.TreeNode
-
- trees - Variable in class nachos.ag.PriorityGraderS1
-
- tryLoadClass(String) - Static method in class nachos.machine.Lib
-
Load and return the named class, or return null if the class
could not be loaded.


The objective of this package is to perform statistical inference using an expressive statistical grammar that coheres with the tidyverse
design framework. The package is centered around 4 main verbs, supplemented with many utilities to visualize and extract value from their outputs.
specify()
allows you to specify the variable, or relationship between variables, that you’re interested in.hypothesize()
allows you to declare the null hypothesis.generate()
allows you to generate data reflecting the null hypothesis.calculate()
allows you to calculate a distribution of statistics from the generated data to form the null distribution.To learn more about the principles underlying the package design, see vignette("infer")
.
If you’re interested in learning more about randomization-based statistical inference generally, including applied examples of this package, we recommend checking out Statistical Inference Via Data Science: A ModernDive Into R and the Tidyverse and Introduction to Modern Statistics.
To install the current stable version of infer
from CRAN:
install.packages("infer")
To install the developmental stable version of infer
, make sure to install remotes
first. The pkgdown
website for this version is at infer.tidymodels.org.
install.packages("remotes")
remotes::install_github("tidymodels/infer")
We welcome others helping us make this package as user-friendly and efficient as possible. Please review our contributing and conduct guidelines. By participating in this project you agree to abide by its terms.
For questions and discussions about tidymodels packages, modeling, and machine learning, please post on RStudio Community. If you think you have encountered a bug, please submit an issue. Either way, learn how to create and share a reprex (a minimal, reproducible example), to clearly communicate about your code. Check out further details on contributing guidelines for tidymodels packages and how to get help.
These examples are pulled from the “Full infer Pipeline Examples” vignette, accessible by calling vignette("observed_stat_examples")
. They make use of the gss
dataset supplied by the package, providing a sample of data from the General Social Survey. The data looks like this:
## tibble [500 × 11] (S3: tbl_df/tbl/data.frame)
## $ year : num [1:500] 2014 1994 1998 1996 1994 ...
## $ age : num [1:500] 36 34 24 42 31 32 48 36 30 33 ...
## $ sex : Factor w/ 2 levels "male","female": 1 2 1 1 1 2 2 2 2 2 ...
## $ college: Factor w/ 2 levels "no degree","degree": 2 1 2 1 2 1 1 2 2 1 ...
## $ partyid: Factor w/ 5 levels "dem","ind","rep",..: 2 3 2 2 3 3 1 2 3 1 ...
## $ hompop : num [1:500] 3 4 1 4 2 4 2 1 5 2 ...
## $ hours : num [1:500] 50 31 40 40 40 53 32 20 40 40 ...
## $ income : Ord.factor w/ 12 levels "lt $1000"<"$1000 to 2999"<..: 12 11 12 12 12 12 12 12 12 10 ...
## $ class : Factor w/ 6 levels "lower class",..: 3 2 2 2 3 3 2 3 3 2 ...
## $ finrela: Factor w/ 6 levels "far below average",..: 2 2 2 4 4 3 2 4 3 1 ...
## $ weight : num [1:500] 0.896 1.083 0.55 1.086 1.083 ...
As an example, we’ll run an analysis of variance on age
and partyid
, testing whether the age of a respondent is independent of their political party affiliation.
Calculating the observed statistic,
Then, generating the null distribution,
null_dist <- gss %>%
specify(age ~ partyid) %>%
hypothesize(null = "independence") %>%
generate(reps = 1000, type = "permute") %>%
calculate(stat = "F")
Visualizing the observed statistic alongside the null distribution,
visualize(null_dist) +
shade_p_value(obs_stat = F_hat, direction = "greater")
Calculating the p-value from the null distribution and observed statistic,
null_dist %>%
get_p_value(obs_stat = F_hat, direction = "greater")
## # A tibble: 1 x 1
## p_value
## <dbl>
## 1 0.055
Note that the formula and non-formula interfaces (i.e. age ~ partyid
vs. response = age, explanatory = partyid
) work for all implemented inference procedures in infer
. Use whatever is more natural for you. If you will be doing modeling using functions like lm()
and glm()
, though, we recommend you begin to use the formula y ~ x
notation as soon as possible.
Other resources are available in the package vignettes! See vignette("observed_stat_examples")
for more examples like the one above, and vignette("infer")
for discussion of the underlying principles of the package design.


|
Panda3D
|
A container for a URL, e.g. More...
Public Member Functions | |
| __init__ () | |
| __init__ (const URLSpec url, const Filename path) | |
| Creates a URLSpec by appending a path to the end of the old URLSpec, inserting an intervening forward slash if necessary. More... | |
| __init__ (const URLSpec) | |
| __init__ (str url, bool server_name_expected) | |
| int | compareTo (const URLSpec other) |
| Returns a number less than zero if this URLSpec sorts before the other one, greater than zero if it sorts after, or zero if they are equivalent. More... | |
| str | cStr () |
| bool | empty () |
| Returns false if the URLSpec is valid (not empty), or true if it is an empty string. More... | |
| str | getAuthority () |
| Returns the authority specified by the URL (this includes username, server, and/or port), or empty string if no authority is specified. More... | |
| int | getHash () |
| str | getPath () |
| Returns the path specified by the URL, or "/" if no path is specified. More... | |
| str | getPathAndQuery () |
| Returns the path (or "/" if no path is specified), followed by the query if it is specified. More... | |
| uint16_t | getPort () |
| Returns the port number specified by the URL, or the default port if not specified. More... | |
| str | getPortStr () |
| Returns the port specified by the URL as a string, or the empty string if no port is specified. More... | |
| str | getQuery () |
| Returns the query specified by the URL, or empty string if no query is specified. More... | |
| str | getScheme () |
| Returns the scheme specified by the URL, or empty string if no scheme is specified. More... | |
| str | getServer () |
| Returns the server name specified by the URL, if any. More... | |
| str | getServerAndPort () |
| Returns a string consisting of the server name, followed by a colon, followed by the port number. More... | |
| str | getUrl () |
| Returns the complete URL specification. More... | |
| str | getUsername () |
| Returns the username specified by the URL, if any. More... | |
| bool | hasAuthority () |
| Returns true if the URL specifies an authority (this includes username, server, and/or port), false otherwise. More... | |
| bool | hasPath () |
| Returns true if the URL includes a path specification (that is, the particular filename on the server to retrieve), false otherwise. More... | |
| bool | hasPort () |
| Returns true if the URL specifies a port number, false otherwise. More... | |
| bool | hasQuery () |
| Returns true if the URL includes a query specification, false otherwise. More... | |
| bool | hasScheme () |
| Returns true if the URL specifies a scheme (e.g. More... | |
| bool | hasServer () |
| Returns true if the URL specifies a server name, false otherwise. More... | |
| bool | hasUsername () |
| Returns true if the URL specifies a username (and/or password), false otherwise. More... | |
| bool | input (Istream in) |
| bool | isDefaultPort () |
| Returns true if the port number encoded in this URL is the default port number for the scheme (or if there is no port number), or false if it is a nonstandard port. More... | |
| bool | isSsl () |
| Returns true if the URL's scheme specifies an SSL-secured protocol such as https, or false otherwise. More... | |
| int | length () |
| bool | operator!= (const URLSpec other) |
| bool | operator< (const URLSpec other) |
| URLSpec | operator= (str url) |
| bool | operator== (const URLSpec other) |
| char | operator[] (int n) |
| output (Ostream out) | |
| setAuthority (str authority) | |
| Replaces the authority part of the URL specification. More... | |
| setPath (str path) | |
| Replaces the path part of the URL specification. More... | |
| setPort (str port) | |
| Replaces the port part of the URL specification. More... | |
| setPort (uint16_t port) | |
| Replaces the port part of the URL specification, given a numeric port number. More... | |
| setQuery (str query) | |
| Replaces the query part of the URL specification. More... | |
| setScheme (str scheme) | |
| Replaces the scheme part of the URL specification. More... | |
| setServer (str server) | |
| Replaces the server part of the URL specification. More... | |
| setServerAndPort (str server_and_port) | |
| Replaces the server and port parts of the URL specification simultaneously. More... | |
| setUrl (str url, bool server_name_expected) | |
| Completely replaces the URL with the indicated string. More... | |
| setUsername (str username) | |
| Replaces the username part of the URL specification. More... | |
| int | size () |
Static Public Member Functions | |
| static int | getDefaultPortForScheme (str scheme) |
| Returns the default port number for the indicated scheme, or 0 if there is no known default. More... | |
| static str | quote (str source, str safe) |
| Returns the source string with all "unsafe" characters quoted, making a string suitable for placing in a URL. More... | |
| static str | quotePlus (str source, str safe) |
| Behaves like quote() with the additional behavior of replacing spaces with plus signs. More... | |
| static str | unquote (str source) |
| Reverses the operation of quote(): converts escaped characters of the form "%xx" to their ascii equivalent. More... | |
| static str | unquotePlus (str source) |
| Reverses the operation of quote_plus(): converts escaped characters of the form "%xx" to their ascii equivalent, and also converts plus signs to spaces. More... | |
Public Attributes | |
| String | authority |
| Returns the authority specified by the URL (this includes username, server, and/or port), or empty string if no authority is specified. More... | |
| String | path |
| Returns the path specified by the URL, or "/" if no path is specified. More... | |
| uint16_t | port |
| Returns the port number specified by the URL, or the default port if not specified. More... | |
| String | query |
| Returns the query specified by the URL, or empty string if no query is specified. More... | |
| String | scheme |
| Returns the scheme specified by the URL, or empty string if no scheme is specified. More... | |
| String | server |
| Returns the server name specified by the URL, if any. More... | |
| String | server_and_port |
| Returns a string consisting of the server name, followed by a colon, followed by the port number. More... | |
| bool | ssl |
| Returns true if the URL's scheme specifies an SSL-secured protocol such as https, or false otherwise. More... | |
| String | username |
| Returns the username specified by the URL, if any. More... | |
A container for a URL, e.g.
"http://server:port/path".
The URLSpec object is similar to a Filename in that it contains logic to identify the various parts of a URL and return (or modify) them separately.
| __init__ | ( | ) |
| __init__ | ( | const | URLSpec | ) |
| __init__ | ( | str | url, |
| bool | server_name_expected | ||
| ) |
| int compareTo | ( | const URLSpec | other | ) |
Returns a number less than zero if this URLSpec sorts before the other one, greater than zero if it sorts after, or zero if they are equivalent.
| str cStr | ( | ) |
| bool empty | ( | ) |
Returns false if the URLSpec is valid (not empty), or true if it is an empty string.
| str getAuthority | ( | ) |
Returns the authority specified by the URL (this includes username, server, and/or port), or empty string if no authority is specified.
|
static |
Returns the default port number for the indicated scheme, or 0 if there is no known default.
| int getHash | ( | ) |
| str getPath | ( | ) |
Returns the path specified by the URL, or "/" if no path is specified.
| str getPathAndQuery | ( | ) |
Returns the path (or "/" if no path is specified), followed by the query if it is specified.
| uint16_t getPort | ( | ) |
Returns the port number specified by the URL, or the default port if not specified.
| str getPortStr | ( | ) |
Returns the port specified by the URL as a string, or the empty string if no port is specified.
Compare this with get_port(), which returns a default port number if no port is specified.
| str getQuery | ( | ) |
Returns the query specified by the URL, or empty string if no query is specified.
| str getScheme | ( | ) |
Returns the scheme specified by the URL, or empty string if no scheme is specified.
| str getServer | ( | ) |
Returns the server name specified by the URL, if any.
In case of an IPv6 address, does not include the enclosing brackets.
| str getServerAndPort | ( | ) |
Returns a string consisting of the server name, followed by a colon, followed by the port number.
If the port number is not explicitly given in the URL, this string will include the implicit port number. If the server is an IPv6 address, it will be enclosed in square brackets.
| str getUrl | ( | ) |
Returns the complete URL specification.
| str getUsername | ( | ) |
Returns the username specified by the URL, if any.
This might also include a password, e.g. "username:password", although putting a password on the URL is probably a bad idea.
| bool hasAuthority | ( | ) |
Returns true if the URL specifies an authority (this includes username, server, and/or port), false otherwise.
| bool hasPath | ( | ) |
Returns true if the URL includes a path specification (that is, the particular filename on the server to retrieve), false otherwise.
| bool hasPort | ( | ) |
Returns true if the URL specifies a port number, false otherwise.
| bool hasQuery | ( | ) |
Returns true if the URL includes a query specification, false otherwise.
| bool hasScheme | ( | ) |
Returns true if the URL specifies a scheme (e.g.
"http:"), false otherwise.
| bool hasServer | ( | ) |
Returns true if the URL specifies a server name, false otherwise.
| bool hasUsername | ( | ) |
Returns true if the URL specifies a username (and/or password), false otherwise.
| bool input | ( | Istream | in | ) |
| bool isDefaultPort | ( | ) |
Returns true if the port number encoded in this URL is the default port number for the scheme (or if there is no port number), or false if it is a nonstandard port.
| bool isSsl | ( | ) |
Returns true if the URL's scheme specifies an SSL-secured protocol such as https, or false otherwise.
| int length | ( | ) |
| bool operator!= | ( | const URLSpec | other | ) |
| bool operator< | ( | const URLSpec | other | ) |
| URLSpec operator= | ( | str | url | ) |
| bool operator== | ( | const URLSpec | other | ) |
| char operator[] | ( | int | n | ) |
| output | ( | Ostream | out | ) |
|
static |
Returns the source string with all "unsafe" characters quoted, making a string suitable for placing in a URL.
Letters, digits, and the underscore, comma, period, and hyphen characters, as well as any included in the safe string, are left alone; all others are converted to hex representation.
|
static |
Behaves like quote() with the additional behavior of replacing spaces with plus signs.
| setAuthority | ( | str | authority | ) |
Replaces the authority part of the URL specification.
This includes the username, server, and port.
| setPath | ( | str | path | ) |
Replaces the path part of the URL specification.
| setPort | ( | str | port | ) |
Replaces the port part of the URL specification.
| setPort | ( | uint16_t | port | ) |
Replaces the port part of the URL specification, given a numeric port number.
| setQuery | ( | str | query | ) |
Replaces the query part of the URL specification.
| setScheme | ( | str | scheme | ) |
Replaces the scheme part of the URL specification.
| setServer | ( | str | server | ) |
Replaces the server part of the URL specification.
Unlike set_server_and_port, this method does not require IPv6 addresses to be enclosed in square brackets.
| setServerAndPort | ( | str | server_and_port | ) |
Replaces the server and port parts of the URL specification simultaneously.
The input string should be of the form "server:port", or just "server" to make the port number implicit. Any IPv6 address must be enclosed in square brackets.
| setUrl | ( | str | url, |
| bool | server_name_expected | ||
| ) |
Completely replaces the URL with the indicated string.
If server_name_expected is true, it is a hint that an undecorated URL is probably a server name, not a local filename.
| setUsername | ( | str | username | ) |
Replaces the username part of the URL specification.
| int size | ( | ) |
|
static |
Reverses the operation of quote(): converts escaped characters of the form "%xx" to their ascii equivalent.
|
static |
Reverses the operation of quote_plus(): converts escaped characters of the form "%xx" to their ascii equivalent, and also converts plus signs to spaces.
| String authority |
Returns the authority specified by the URL (this includes username, server, and/or port), or empty string if no authority is specified.
| String path |
Returns the path specified by the URL, or "/" if no path is specified.
| uint16_t port |
Returns the port number specified by the URL, or the default port if not specified.
| String query |
Returns the query specified by the URL, or empty string if no query is specified.
| String scheme |
Returns the scheme specified by the URL, or empty string if no scheme is specified.
| String server |
Returns the server name specified by the URL, if any.
In case of an IPv6 address, does not include the enclosing brackets.
| String server_and_port |
Returns a string consisting of the server name, followed by a colon, followed by the port number.
If the port number is not explicitly given in the URL, this string will include the implicit port number. If the server is an IPv6 address, it will be enclosed in square brackets.
| bool ssl |
Returns true if the URL's scheme specifies an SSL-secured protocol such as https, or false otherwise.
| String username |
Returns the username specified by the URL, if any.
This might also include a password, e.g. "username:password", although putting a password on the URL is probably a bad idea.


黒の手番です。62 はどう動かしますか？
Unlimited
pips Black=161 White=50
(CorrectAnswer= 0/0, ErrorScore= 0)
1. 15/9* 12/10 eq:+0.421 67.08% (G:0.00% B:0.00%) 32.92% (G:20.54% B:0.77%) 2. 19/17 15/9* eq:+0.326 (-0.094) 63.70% (G:0.00% B:0.00%) 36.30% (G:22.36% B:0.55%) 3. 15/9* 9/7 eq:+0.230 (-0.191) 60.61% (G:0.00% B:0.00%) 39.39% (G:23.15% B:0.49%) 4. 15/9* 7/5 eq:+0.191 (-0.230) 61.55% (G:0.00% B:0.00%) 38.45% (G:27.99% B:1.07%) 5. 15/9* 8/6 eq:+0.027 (-0.394) 56.18% (G:0.00% B:0.00%) 43.82% (G:28.38% B:1.08%)


--- layout: page title: About header-img: "img/about-bg.png" ---
Portland based software engineering student at Flatiron School online.


pip_services3_memcached.lock package
Submodules
Module contents
-
class
pip_services3_memcached.lock.
MemcachedLock
Bases:
pip_services3_components.lock.Lock.Lock
,pip_services3_commons.config.IConfigurable.IConfigurable
,pip_services3_commons.refer.IReferenceable.IReferenceable
,pip_services3_commons.run.IOpenable.IOpenable
Distributed lock that implemented based on Memcaches caching service.
The current implementation does not support authentication.
### Configuration parameters ###
- connection(s):
discovery_key: (optional) a key to retrieve the connection from
IDiscovery
host: host name or IP address
port: port number
uri: resource URI or connection string with all parameters in it
- options:
retry_timeout: timeout in milliseconds to retry lock acquisition. (Default: 100)
max_size: maximum number of values stored in this cache (default: 1000)
max_key_size: maximum key length (default: 250)
max_expiration: maximum expiration duration in milliseconds (default: 2592000)
max_value: maximum value length (default: 1048576)
pool_size: pool size (default: 5)
reconnect: reconnection timeout in milliseconds (default: 10 sec)
retries: number of retries (default: 3)
timeout: default caching timeout in milliseconds (default: 1 minute)
failures: number of failures before stop retrying (default: 5)
retry: retry timeout in milliseconds (default: 30 sec)
idle: idle timeout before disconnect in milliseconds (default: 5 sec)
### References ###
*:discovery:*:*:1.0 (optional)
IDiscovery
services to resolve connection
Example:
lock = MemcachedLock() lock.configure(ConfigParams.from_tuples( "connection.host", "localhost", "connection.port", 11211 )) lock.open("123") lock.acquire_lock("123", "key1", 3000, 1000) try: # Processing... pass finally: lock.release_lock("123", "key1")
-
close
(correlation_id: Optional[str, None]) Closes component and frees used resources.
- Parameters
correlation_id – (optional) transaction id to trace execution through call chain.
-
configure
(config: pip_services3_commons.config.ConfigParams.ConfigParams) Configures component by passing configuration parameters.
- Parameters
config – configuration parameters to be set.
-
is_open
() → bool Checks if the component is opened.
- Returns
true if the component has been opened and false otherwise.
-
open
(correlation_id: Optional[str, None]) Opens the component.
- Parameters
correlation_id – (optional) transaction id to trace execution through call chain.
-
release_lock
(correlation_id: Optional[str, None], key: str) Releases prevously acquired lock by its key.
- Parameters
correlation_id – (optional) transaction id to trace execution through call chain.
key – a unique lock key to release.
-
set_references
(references: pip_services3_commons.refer.IReferences.IReferences) Sets references to dependent components.
- Parameters
references – references to locate the component dependencies.
-
try_acquire_lock
(correlation_id: Optional[str, None], key: str, ttl: int) → bool Makes a single attempt to acquire a lock by its key. It returns immediately a positive or negative result.
- Parameters
correlation_id – (optional) transaction id to trace execution through call chain.
key – a unique lock key to acquire.
ttl – a lock timeout (time to live) in milliseconds.
- Returns
true if lock was successfull and false otherwise.


Installation has been successfully completed
Use the following link to log into the administration area:
If you have any issues or questions please submit a ticket here. Thanks!
If installation page still appears after visiting one of the above urls or reloading this page, you will need to delete install_files directory from your server manually, because installer was not able to do it automatically.


Water availability dictates the wellbeing of entire communities. Yet, we tend to know very little about our water supplies.
Through mapping, NOAH aims to make water data more accessible and understandable.
The map depicts shifts in rainfall and surface water patterns across the planet over the last four decades. By comparing changes in the water surface level and rainfall highs and lows, you can begin to identify how your community has been affected by water fluctuations, and by how much.
We invite you to use NOAH to explore a host of topics: In regions where the amount of water in lakes and rivers has changed substantially, governments treat water data as a national secret. Recently, as more dams, dikes and homes have been built along waterways, downstream effects have manifested. For example, in southern Louisiana and coastal Bangladesh, dams constructed upstream have blocked water supply to communities downstream.
Unprecedented climate change is already contributing to more extreme conditions. Droughts are now longer, the monsoons increasingly erratic. NOAH strives to help you tease out these trends, and find the underlying stories.
NOAH gives journalists rich opportunities to discover, report and tell stories.
Touring the world in NOAH, you can find a town where the community’s reservoir is severely depleted, but rainfall has remained stable; raising questions about water management or upstream engineering. You may also stumble upon an area where little has changed on the surface, but where rainfall highs and lows have fluctuated dramatically. How has that impacted the communities?
If you’re a journalist covering a particular area, you can request the raw data for that region. When a climate or water event crops up, you’ll then have historical and modern-day data on-hand to inform your reporting.
The journalists on our team are available to guide you through the map, talk through story ideas and share tips on climate reporting. If you reach out to us at<EMAIL_ADDRESS>one of our journalists will respond within the week and set up a time to chat.
In Kaliapat, a coastal village in India, Kuntala Rout spends as many as four hours a day filling up vessels with water so her family has enough to drink. Rout says she tries to drink as little water as she can to avoid extra trips to the hand pump.
Rout is not alone. From Kaliapat, to communities along Utah’s northern border in the U.S., to cities in central Argentina, water availability is a pressing issue that transcends borders.
By using this map, Disha Shetty, a co-founder of NOAH, realized that Kaliapat and its surrounding areas had seen a severe decrease in surface water in the past three decades. Read the story here. It’s an example of how the map and long-term climate data can be used to both locate areas facing distress and enhance storytelling.
A huge thanks to the Brown Institute for Media Innovation, which provided a grant to make this interactive map possible.
The International Research Institute for Climate and Society also helped us with integral data support during the development of the application.
We used open-source data to build this platform, and we’re eager to share what we’ve collected. If you’re interested in interacting with and interrogating the raw data, don’t hesitate to reach out. Our team can provide you with data that matches your region and time-period of interest, and talk through any questions you may have.
You can reach us at<EMAIL_ADDRESS>Sources: The National Oceanic and Atmospheric Administration (NOAA) Climate Prediction Center’s Climate Anomaly Monitoring System_OPI provided monthly rainfall data going back to 1978. Columbia University’s International Research Institute for Climate and Society houses this information and presents it in its own online map.
The global surface water data is courtesy of the European Commission’s Joint Research Centre. Using three million Landsat satellite images, a four-person team at the centre quantified the changes in global surface water between 1984 and 2015. The team published their findings and analysis in Nature in December 2016.
The idea for NOAH came in early 2018. Pietro Ceccato, a climate scientist, was teaching a course at Columbia University’s medical school on how to infuse climate data into public health work. Disha Shetty, a health journalist from India who was working toward her master’s in journalism, walked into the classroom to learn how to better use data in reporting on unprecedented climate changes. After a few courses, the two began chatting about a project that would combine journalism and climate data.
While data on changes in surface water was available through the European Commission’s Joint Research Centre, it wasn’t combined with rainfall trends in a single map. Combining the two in NOAH paints a more complete picture of changes in the water cycle and highlights the impacts of human interventions.
That’s when Disha brought in a few more of her then-classmates, and the team got to work.
Pietro Ceccato is a development manager at SPACEBEL, Belgium. He’s responsible for developing applications of remote sensing for agriculture, forestry, natural disasters, human health and pests.
Disha Shetty is an award-winning Science journalist based out of India. She mainly writes about public health, climate change and the intersection between the two.
Maya Miller is a data-driven investigative journalist based out of the United States. She reports on health and climate, as well as government oversight.
Pankhuri Kumar is pursuing a dual master’s degree in computer science and journalism from Columbia University. She is currently working on a project on Indian media bias during elections
Ravie Lakshmanan is a computational journalist based out of India. He is a news engineer, and has previously reported on wealth management.


What is an EM?
Wikipedia puts it well: "An em is a unit of measurement in the field of typography, equal to the size of the current font."
If your font-size is at 16 pixels, then 1em = 16px
For more information visit Wikipedia and Mozilla MDN.
What is the text sizing difference between PX, EM, %, PT?
Pixels and points are static measurements, but commonly used in different mediums. Pixels are used on screens because screens are measured in pixels. Although points can be used on screen, they are the standard in printing because they are a factor of DPI.
Percent and EMs on the other hand are relative measurements. The size of an EM or percentage unit depends on its parent. If body text is sized at 12 pixels, then text set at 120% or 1.2 EM inside the body will be 1.2 * 12, or 14.4 pixels.
How do I convert between PX, EM, %, and PT?
Assuming you aren’t using PXtoEM.com to keep it simple, here are the formulas PXtoEM.com uses.
Note: 16px is used as the body text size in all conversions because that is the browser default. You will change 16px to your base text size.
- PX to EM
- Formula: size in pixels / parent size in pixels
- Example: 12px / 16px = .75em
- PX to %
- Formula: size in pixels / parent size in pixels * 100
- Example: 12px / 16px * 100 = 75%
- PX to PT
- Formula: size in pixels * (points per inch / pixels per inch)
- Example: 16px * (72pt / 96px) = 12pt
- EM to PX
- Formula: size in EMs * parent size in pixels
- Example: .75em * 16px = 12px
- EM to %
- Formula: size in EMs * 100
- Example: .75em * 100 = 75%
Why size your text with EMs in CSS?
Style sheets that use EMs are easier to maintain for the designer (especially with PXtoEM.com at your side) and more accessible to end-users.
Style sheets become easier to maintain because all text set in EMs scale to the body font-size. Only one element\'s font-size needs to change instead of individually changing the font-size of each element.
Accessibility is increased for end-users because text is scaled based on their preferences rather than set statically in pixels. Additionally, end-users can use hot keys to scale the text in all browsers. Many people have difficulty reading small text on a computer screen.
For more information visit A List Apart, informIT, Jon Tan\'s Blog, and this SharePoint Blog.
This site uses Blueprint CSS to generate your yummy CSS.
What is PXtoEM.com?
PXtoEM.com is px to em conversion made simple. Choose your body font size in pixels (px)and out comes a complete pixel (px) to em conversion table, making elastic web design with CSS a snap. The once daunting challenge of converting pixels (px) to the elusive em has now been reduced to a booger eating pipsqueak. Thanks, PXtoEM.com!
PXtoEM.com takes it a step further and gives CSS to start with! After you select your body font size, go to "Get CSS" and there you go!
PXtoEM.com was created by Brian Cray