Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 242 for week (0.17 sec)

  1. src/cmd/cgo/internal/test/issue29563/weak.go

    Austin Clements <******@****.***> 1683224724 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 277 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

          STRONG_ACCESS,
          STRONG_WRITE,
          STRONG_ACCESS_WRITE,
          WEAK,
          WEAK_ACCESS,
          WEAK_WRITE,
          WEAK_ACCESS_WRITE,
        };
    
        static EntryFactory getFactory(
            Strength keyStrength, boolean usesAccessQueue, boolean usesWriteQueue) {
          int flags =
              ((keyStrength == Strength.WEAK) ? WEAK_MASK : 0)
                  | (usesAccessQueue ? ACCESS_MASK : 0)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    	}
    	if _, err := buf.Peek(1); err != io.EOF {
    		t.Fatalf("want EOF got %v", err)
    	}
    
    	// Test for issue 3022, not exposing a reader's error on a successful Peek.
    	buf = NewReaderSize(dataAndEOFReader("abcd"), 32)
    	if s, err := buf.Peek(2); string(s) != "ab" || err != nil {
    		t.Errorf(`Peek(2) on "abcd", EOF = %q, %v; want "ab", nil`, string(s), err)
    	}
    	if s, err := buf.Peek(4); string(s) != "abcd" || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java

      @CollectionSize.Require(ZERO)
      public void testPeek_empty() {
        assertNull("emptyQueue.peek() should return null", getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionSize.Require(ONE)
      public void testPeek_size1() {
        assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/PeekingIterator.java

       *
       * <p>Calls to {@code peek()} should not change the state of the iteration, except that it
       * <i>may</i> prevent removal of the most recent element via {@link #remove()}.
       *
       * @throws NoSuchElementException if the iteration has no more elements according to {@link
       *     #hasNext()}
       */
      @ParametricNullness
      E peek();
    
      /**
       * {@inheritDoc}
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/tsan2.go

    extern void GoRun(void);
    
    // Yes, you can have definitions if you use //export, as long as they are weak.
    
    int val __attribute__ ((weak));
    
    int run(void) __attribute__ ((weak));
    
    int run() {
    	val = 1;
    	GoRun();
    	return val;
    }
    
    void setVal(int) __attribute__ ((weak));
    
    void setVal(int i) {
    	val = i;
    }
    */
    import "C"
    
    import "runtime"
    
    //export GoRun
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 940 bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java

      @CollectionSize.Require(ZERO)
      public void testPeek_empty() {
        assertNull("emptyQueue.peek() should return null", getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionSize.Require(ONE)
      public void testPeek_size1() {
        assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/imports/read.go

    	if r.err != nil {
    		if r.nerr++; r.nerr > 10000 {
    			panic("go/build: import reader looping")
    		}
    		return 0
    	}
    
    	// Use r.peek as first input byte.
    	// Don't just return r.peek here: it might have been left by peekByte(false)
    	// and this might be peekByte(true).
    	c := r.peek
    	if c == 0 {
    		c = r.readByte()
    	}
    	for r.err == nil && !r.eof {
    		if skipSpace {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 15 18:42:11 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/RandomAccessFileTest.java

                    try ( SmbRandomAccessFile raf = new SmbRandomAccessFile(f, "r") ) {
                        raf.seek(10);
                        Assert.assertEquals(-1, raf.read());
                    }
    
                    byte[] buf = new byte[4];
                    try ( SmbRandomAccessFile raf = new SmbRandomAccessFile(f, "r") ) {
                        raf.seek(6);
                        Assert.assertEquals(2, raf.read(buf));
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

          STRONG_ACCESS,
          STRONG_WRITE,
          STRONG_ACCESS_WRITE,
          WEAK,
          WEAK_ACCESS,
          WEAK_WRITE,
          WEAK_ACCESS_WRITE,
        };
    
        static EntryFactory getFactory(
            Strength keyStrength, boolean usesAccessQueue, boolean usesWriteQueue) {
          int flags =
              ((keyStrength == Strength.WEAK) ? WEAK_MASK : 0)
                  | (usesAccessQueue ? ACCESS_MASK : 0)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top