Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 514 for 1200 (0.02 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

                .ticker(ticker)
                .build(loader);
    
        // Increment 100 times
        for (int i = 0; i < 100; ++i) {
          cache.getUnchecked(10).incrementAndGet();
          ticker.advance(1, MILLISECONDS);
        }
    
        assertEquals(evictionCount.get() + 1, applyCount.get());
        int remaining = cache.getUnchecked(10).get();
        assertEquals(100, totalSum.get() + remaining);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            testBuffer[24] = 0x00;
            testBuffer[25] = 0x00;
            testBuffer[26] = 0x00;
            testBuffer[27] = 0x05;
            SMBUtil.writeInt4(21, testBuffer, 28); // sub-authority 1
            SMBUtil.writeInt4(1000, testBuffer, 32); // sub-authority 2
            SMBUtil.writeInt4(2000, testBuffer, 36); // sub-authority 3
    
            // Group SID with 2 sub-authorities
            testBuffer[44] = 0x01; // revision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(tree.send(any(TransTransactNamedPipe.class), any(TransTransactNamedPipeResponse.class), eq(RequestParam.NO_RETRY)))
                    .thenAnswer(inv -> inv.getArgument(1));
    
            int n = handle.sendrecv(new byte[10], 0, 0, new byte[20], 100);
            assertEquals(0, n, "Default response length is 0 unless protocol fills it");
        }
    
        @Test
        @DisplayName("sendrecv uses CallNamedPipe when PIPE_TYPE_CALL is set")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
          ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(random.nextInt(20));
          AtomicInteger counter = new AtomicInteger(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                // Initial setup
                request.setReadLength(1000);
                request.setOffset(500L);
                request.setMinimumCount(100);
    
                // Update parameters
                request.setReadLength(2000);
                request.setOffset(1000L);
                request.setMinimumCount(200);
                request.setRemainingBytes(3000);
                request.setPadding((byte) 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. docs/smb3-features/01-smb3-lease-design.md

        }
        
        public int getLeaseTimeout() {
            return getIntProperty(LEASE_TIMEOUT, 30000);  // 30 seconds default
        }
        
        public int getMaxLeases() {
            return getIntProperty(MAX_LEASES, 1000);  // Max concurrent leases
        }
        
        public int getLeaseVersion() {
            return getIntProperty(LEASE_VERSION, 2);  // Default to V2 if supported
        }
    }
    ```
    
    ## 8. Testing Strategy
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

            "/test/dir", new Smb2LeaseKey(), DirectoryCacheScope.IMMEDIATE_CHILDREN);
        
        // Test adding children
        SmbFileAttributes attrs = createMockAttributes("file1.txt", 1000, false);
        entry.updateChild("file1.txt", attrs);
        
        assertTrue(entry.hasChild("file1.txt"));
        assertEquals(1, entry.getChildren().size());
        
        // Test removal
        entry.removeChild("file1.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. docs/smb3-features/05-rdma-smb-direct-design.md

            if (!initialized) {
                try {
                    // Initialize DiSNI
                    endpointGroup = new RdmaActiveEndpointGroup<DisniRdmaEndpoint>(
                        1000, false, 128, 4, 128);
                    endpointGroup.init(new DisniRdmaEndpointFactory());
                    initialized = true;
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	// expected in case of read timeout
    	w.Header().Set("Connection", "close")
    
    	setEventStreamHeaders(w)
    
    	logCh := make(chan log.Info, 1000)
    	peers, _ := newPeerRestClients(globalEndpoints)
    	encodedCh := make(chan []byte, 1000+len(peers)*1000)
    	err = globalConsoleSys.Subscribe(logCh, ctx.Done(), node, limitLines, logKind, nil)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetsTest.java

        verifySetContents(set, EMPTY_COLLECTION);
      }
    
      public void testNewHashSetWithExpectedSizeLarge() {
        HashSet<Integer> set = Sets.newHashSetWithExpectedSize(1000);
        verifySetContents(set, EMPTY_COLLECTION);
      }
    
      public void testNewHashSetFromIterator() {
        HashSet<Integer> set = newHashSet(SOME_COLLECTION.iterator());
        verifySetContents(set, SOME_COLLECTION);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
Back to top