Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2541 - 2550 of 2,758 for createId (0.08 sec)

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

          assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i));
          assertTrue("Creator should have been called @#" + i, loader.wasCalled());
        }
    
        // expire new values we just created
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
        assertEquals("Eviction notifications must be received", 21, removalListener.getCount());
    
    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/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        }
    
        @Test
        @DisplayName("Test with negative FID value (should handle as unsigned)")
        void testNegativeFidValue() {
            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, OWNER_SECURITY_INFORMATION);
            byte[] dst = new byte[10];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                evictToRecoverBytes(dynamicTableByteCount - maxDynamicTableByteCount)
              }
            }
          }
        }
    
      /**
       * An HTTP/2 response cannot contain uppercase header characters and must be treated as
       * malformed.
       */
      @Throws(IOException::class)
      fun checkLowercase(name: ByteString): ByteString {
        for (i in 0 until name.size) {
          if (name[i] in 'A'.code.toByte()..'Z'.code.toByte()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        suite.addTest(testsForSetUpTearDown());
        return suite;
      }
    
      private abstract static class WrappedHashMapGenerator extends TestStringMapGenerator {
        @Override
        protected final Map<String, String> create(Entry<String, String>[] entries) {
          HashMap<String, String> map = new HashMap<>();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch doneLatch = new CountDownLatch(threadCount);
            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    
            // Create test data
            byte[] testData = new byte[64];
            for (int i = 0; i < testData.length; i++) {
                testData[i] = (byte) i;
            }
    
            // Run concurrent updates
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test implementation with concrete mock")
        void testConcreteImplementation() throws SMBProtocolDecodingException {
            // Create a concrete implementation for testing
            CommonServerMessageBlock concreteBlock = new CommonServerMessageBlock() {
                private long mid;
                private int command;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

                    final String filePath = FileUtil.getCanonicalPath(file);
                    final String resourcePath = filePath.substring(pos + 1).replace('\\', '/');
                    final InputStream is = InputStreamUtil.create(file);
                    try {
                        handler.processResource(resourcePath, is);
                    } finally {
                        CloseableUtil.close(is);
                    }
                }
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmSspTest.java

        // User: "user", Domain: "DOMAIN", Workstation: "WORKSTATION"
        // This is a valid Type 3 message with proper structure
        private final String type3MessageBase64 = createValidType3Message();
    
        /**
         * Creates a valid Type 3 NTLM message for testing
         */
        private static String createValidType3Message() {
            // Build a properly formatted Type 3 message
            byte[] message = new byte[200];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                }
                this.negotiateContexts = contexts;
                return Math.max(bufferIndex, ncpos) - start;
            }
    
            return bufferIndex - start;
        }
    
        /**
         * Creates a negotiate context response based on the context type.
         *
         * @param type the negotiate context type
         * @return the appropriate negotiate context response, or null if not recognized
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /** The SMB authentication holder. */
        protected volatile SmbAuthenticationHolder smbAuthenticationHolder;
    
        /**
         * Creates a new SmbClient instance.
         */
        public SmbClient() {
            super();
        }
    
        @Override
        public synchronized void init() {
            if (smbAuthenticationHolder != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top