Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 2,036 for wong (0.02 sec)

  1. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(int.class));
        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(Integer.class));
        assertEquals(Long.valueOf(0), ArbitraryInstances.get(long.class));
        assertEquals(Long.valueOf(0), ArbitraryInstances.get(Long.class));
        assertEquals(Float.valueOf(0), ArbitraryInstances.get(float.class));
        assertEquals(Float.valueOf(0), ArbitraryInstances.get(Float.class));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. docs/smb3-features/01-smb3-lease-design.md

        }
        
        public static class LeaseEntry {
            private final Smb2LeaseKey leaseKey;
            private volatile int leaseState;
            private volatile int epoch;
            private final long createTime;
            private volatile long lastAccessTime;
            private final String path;
            private volatile boolean breaking;
            
            public LeaseEntry(Smb2LeaseKey key, String path, int state) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        private byte securityFlags;
        private byte requestedOplockLevel = SMB2_OPLOCK_LEVEL_NONE;
        private int impersonationLevel = SMB2_IMPERSONATION_LEVEL_IMPERSONATION;
        private long smbCreateFlags;
        private int desiredAccess = 0x00120089; // 0x80000000 | 0x1;
        private int fileAttributes;
        private int shareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE;
        private int createDisposition = FILE_OPEN;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. src/bufio/scan_test.go

    				break
    			}
    			runeCount++
    			got, _ := utf8.DecodeRune(s.Bytes())
    			if got != expect {
    				t.Errorf("#%d: %d: expected %q got %q", n, i, expect, got)
    			}
    		}
    		if s.Scan() {
    			t.Errorf("#%d: scan ran too long, got %q", n, s.Text())
    		}
    		testRuneCount := utf8.RuneCountInString(test)
    		if runeCount != testRuneCount {
    			t.Errorf("#%d: termination expected at %d; got %d", n, testRuneCount, runeCount)
    		}
    		err := s.Err()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    and asking, `But who has won?'
    
      This question the Dodo could not answer without a great deal of
    thought, and it sat for a long time with one finger pressed upon
    its forehead (the position in which you usually see Shakespeare,
    in the pictures of him), while the rest waited in silence.  At
    last the Dodo said, `EVERYBODY has won, and all must have
    prizes.'
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/EmptyIteratorTest.java

                    } catch (CIFSException e) {
                        throw new RuntimeException(e);
                    }
                });
            }
    
            long endTime = System.currentTimeMillis();
            long duration = endTime - startTime;
    
            // Then - should complete quickly (this is more of a performance indicator)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

        }
    
        @Test
        public void testUpdateAccessTime() {
            HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, null);
    
            long originalAccessTime = info.getLastAccessTime();
    
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. cmd/namespace-lock_test.go

    	if gotSource != expectedSource {
    		t.Errorf("expected : %s, got : %s", expectedSource, gotSource)
    	}
    }
    
    // Test lock race
    func TestNSLockRace(t *testing.T) {
    	t.Skip("long test skip it")
    
    	ctx := t.Context()
    
    	for i := range 10000 {
    		nsLk := newNSLock(false)
    
    		// lk1; ref=1
    		if !nsLk.lock(ctx, "volume", "path", "source", "opsID", false, time.Second) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Cache.java

       * with a differently behaving {@code loader}. For example, a call that requests a short timeout
       * for an RPC may wait for a similar call that requests a long timeout, or a call by an
       * unprivileged user may return a resource accessible only to a privileged user making a similar
       * call. To prevent this problem, create a key object that includes all values that affect the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

    internal open class FaultHidingSink(
      delegate: Sink,
      val onException: (IOException) -> Unit,
    ) : ForwardingSink(delegate) {
      private var hasErrors = false
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (hasErrors) {
          source.skip(byteCount)
          return
        }
        try {
          super.write(source, byteCount)
        } catch (e: IOException) {
          hasErrors = true
          onException(e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top