Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 692 for 1000L (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            }
    
            @Test
            @DisplayName("Should encode at different buffer positions")
            void testEncodingAtDifferentPositions() {
                long offset = 1000L;
                long length = 2000L;
                int flags = Smb2Lock.SMB2_LOCKFLAG_UNLOCK;
    
                lock = new Smb2Lock(offset, length, flags);
    
                // Test encoding at position 10
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                // t is in DST so add 1 hour
                t += 3600000;
            } else {
                // t isn't in DST either
            }
            SMBUtil.writeInt4((int) (t / 1000L), dst, dstIndex);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // Base body part size (up to and including CreateContextsLength)
            byte[] base = buildCreateBodyNoContexts((byte) 1, (byte) 2, 3, 1000L, 2000L, 3000L, 4000L, 512L, 1024L, 0x20, fileId);
    
            // Create a simple context entry
            byte[] ctx = new byte[0x40];
            int ci = 0;
            SMBUtil.writeInt4(0, ctx, ci); // Next = 0 (only one)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            if (ageMillis + minFreshMillis >= freshMillis) {
              builder.addHeader("Warning", "110 HttpURLConnection \"Response is stale\"")
            }
            val oneDayMillis = 24 * 60 * 60 * 1000L
            if (ageMillis > oneDayMillis && isFreshnessLifetimeHeuristic()) {
              builder.addHeader("Warning", "113 HttpURLConnection \"Heuristic expiration\"")
            }
            return CacheStrategy(null, builder.build())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @Test
        @DisplayName("Test timeout validation")
        void testTimeoutValidation() {
            assertDoesNotThrow(() -> InputValidator.validateTimeout(1000L, "test"));
            assertDoesNotThrow(() -> InputValidator.validateTimeout(0L, "test"));
            assertDoesNotThrow(() -> InputValidator.validateTimeout(3600000L, "test"));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            assertThat(map.get("aaa"), is((Object) 1000L));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyBeanToMap_converter3() throws Exception {
            final Bean2 bean2 = new Bean2();
            bean2.aaa = Integer.valueOf(1000);
            final Map<String, Object> map = newHashMap();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Dfs.java

            long expiration;
            HashMap map;
    
            CacheEntry(long ttl) {
                if (ttl == 0) {
                    ttl = Dfs.TTL;
                }
                expiration = System.currentTimeMillis() + ttl * 1000L;
                map = new HashMap();
            }
        }
    
        static LogStream log = LogStream.getInstance();
        static final boolean strictView = Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          KeyPairGenerator.getInstance(keyAlgorithm).run {
            initialize(keySize, SecureRandom())
            generateKeyPair()
          }
    
        companion object {
          private const val DEFAULT_DURATION_MILLIS = 1000L * 60 * 60 * 24 // 24 hours.
        }
      }
    
      companion object {
        private val PEM_REGEX = Regex("""-----BEGIN ([!-,.-~ ]*)-----([^-]*)-----END \1-----""")
    
        /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

        @Nested
        @DisplayName("Expiration Tests")
        class ExpirationTests {
    
            @Test
            @DisplayName("Should get and set expiration")
            void testExpiration() {
                Long expiration = 1000L;
    
                response.setExpiration(expiration);
    
                assertEquals(expiration, response.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle null expiration")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

        protected long executionTimeout = 30L * 1000L; // 30sec
    
        /** The working directory for the command. */
        protected File workingDirectory = null;
    
        /** The encoding for the command's output. */
        protected String commandOutputEncoding = Charset.defaultCharset().displayName();
    
        /** The maximum number of lines to buffer from command output. */
        protected int maxOutputLine = 1000;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top