Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 538 for 1002 (0.02 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

                .build(loader);
    
        // Increment 100 times
        for (int i = 0; i < 100; ++i) {
          cache.getUnchecked(10).incrementAndGet();
          ticker.advance(1, MILLISECONDS);
        }
    
        assertThat(applyCount.get()).isEqualTo(evictionCount.get() + 1);
        int remaining = cache.getUnchecked(10).get();
        assertThat(totalSum.get() + remaining).isEqualTo(100);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      static final Integer N1 = 1;
      static final Integer N2 = 2;
      static final Integer N3 = 3;
      static final Integer N4 = 4;
      static final Integer N5 = 5;
      static final Integer NODE_NOT_IN_GRAPH = 1000;
    
      // TODO(user): Consider separating Strings that we've defined here to capture
      // identifiable substrings of expected error messages, from Strings that we've defined
      // here to provide error messages.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. chainable_api.go

    }
    
    // Scopes pass current database connection to arguments `func(DB) DB`, which could be used to add conditions dynamically
    //
    //	func AmountGreaterThan1000(db *gorm.DB) *gorm.DB {
    //	    return db.Where("amount > ?", 1000)
    //	}
    //
    //	func OrderStatus(status []string) func (db *gorm.DB) *gorm.DB {
    //	    return func (db *gorm.DB) *gorm.DB {
    //	        return db.Scopes(AmountGreaterThan1000).Where("status in (?)", status)
    //	    }
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if (CACHE_POLICY == 0) {
                return;
            }
            long expiration = -1;
            if (CACHE_POLICY != FOREVER) {
                expiration = System.currentTimeMillis() + CACHE_POLICY * 1000;
            }
            cacheAddress(hostName, addr, expiration);
        }
    
        static void cacheAddress(final Name hostName, final NbtAddress addr, final long expiration) {
            if (CACHE_POLICY == 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        void testMaximumPathLength() throws Exception {
            // Given - Create a very long path
            StringBuilder longPathBuilder = new StringBuilder("\\\\server\\");
            for (int i = 0; i < 1000; i++) {
                longPathBuilder.append("a");
            }
            String longPath = longPathBuilder.toString();
    
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, longPath);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      static final Integer N1 = 1;
      static final Integer N2 = 2;
      static final Integer N3 = 3;
      static final Integer N4 = 4;
      static final Integer N5 = 5;
      static final Integer NODE_NOT_IN_GRAPH = 1000;
    
      // TODO(user): Consider separating Strings that we've defined here to capture
      // identifiable substrings of expected error messages, from Strings that we've defined
      // here to provide error messages.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            @DisplayName("Should handle multiple parameter updates")
            void testMultipleParameterUpdates() {
                // Initial setup
                request.setReadLength(1000);
                request.setOffset(500L);
                request.setMinimumCount(100);
    
                // Update parameters
                request.setReadLength(2000);
                request.setOffset(1000L);
                request.setMinimumCount(200);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top