- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for Peeker (0.41 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy
test("throwsExceptionWhenPeeked()") { operationDisplayName "throws EmptyStackException when peeked" testDisplayName "throws EmptyStackException when peeked" } test("throwsExceptionWhenPopped()") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 18.3K bytes - Viewed (0) -
src/embed/embed.go
jdir, _, _ := split(files[j].name) return jdir > dir }) return files[i:j] } // Open opens the named file for reading and returns it as an [fs.File]. // // The returned file implements [io.Seeker] and [io.ReaderAt] when the file is not a directory. func (f FS) Open(name string) (fs.File, error) { file := f.lookup(name) if file == nil { return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:42:51 UTC 2024 - 13.5K bytes - Viewed (0) -
src/sync/rwmutex.go
} } // TryRLock tries to lock rw for reading and reports whether it succeeded. // // Note that while correct uses of TryRLock do exist, they are rare, // and use of TryRLock is often a sign of a deeper problem // in a particular use of mutexes. func (rw *RWMutex) TryRLock() bool { if race.Enabled { _ = rw.w.state race.Disable() } for { c := rw.readerCount.Load() if c < 0 { if race.Enabled {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
import java.util.logging.Logger; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Base test case class for I/O tests. * * @author Chris Nokleberg * @author Colin Decker */ public abstract class IoTestCase extends TestCase { private static final Logger logger = Logger.getLogger(IoTestCase.class.getName()); static final String I18N =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/parser.go
var buf []byte if seeker, ok := r.(io.Seeker); ok { // Determine the size of the reader so that we can allocate a buffer // without having to grow it later. cur, err := seeker.Seek(0, io.SeekCurrent) if err != nil { return nil, err } end, err := seeker.Seek(0, io.SeekEnd) if err != nil { return nil, err } _, err = seeker.Seek(cur, io.SeekStart) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/DependencyGraphBuilderTest.groovy
def e = revision('e') traverses root, selected traverses selected, c traverses root, b traverses b, d doesNotTraverse d, evicted // Conflict is deeper than all dependencies of selected module doesNotResolve evicted, e when: def result = resolve() result.rethrowFailure() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 45.1K bytes - Viewed (0) -
src/sync/mutex.go
m.lockSlow() } // TryLock tries to lock m and reports whether it succeeded. // // Note that while correct uses of TryLock do exist, they are rare, // and use of TryLock is often a sign of a deeper problem // in a particular use of mutexes. func (m *Mutex) TryLock() bool { old := m.state if old&(mutexLocked|mutexStarving) != 0 { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 8.4K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
src/internal/concurrent/hashtriemap.go
top := newIndirect for { if hashShift == 0 { panic("internal/concurrent.HashMapTrie: ran out of hash bits while inserting") } hashShift -= nChildrenLog2 // hashShift is for the level parent is at. We need to go deeper. oi := (oldHash >> hashShift) & nChildrenMask ni := (newHash >> hashShift) & nChildrenMask if oi != ni { newIndirect.children[oi].Store(&oldEntry.node) newIndirect.children[ni].Store(&newEntry.node)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 11.8K bytes - Viewed (0) -
internal/s3select/select.go
return &ObjectReadSeekCloser{ segmentReader: segmentReader, size: actualSize, offset: 0, reader: nil, } } // Seek call to implement io.Seeker func (rsc *ObjectReadSeekCloser) Seek(offset int64, whence int) (int64, error) { // fmt.Printf("actual: %v offset: %v (%v) whence: %v\n", rsc.size, offset, rsc.offset, whence) switch whence { case io.SeekStart:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 21K bytes - Viewed (0)