Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,515 for Defaults (0.7 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        limiter.acquire();
        limiter.acquire();
        limiter.acquire();
        limiter.acquire();
        limiter.acquire();
        assertEvents(
            "R0.00", // First comes the saved-up burst, which defaults to a 1-second burst (2 requests).
            "R0.00", "R0.00", // Now comes the free request.
            "R0.50", // Now it's 0.5 seconds per request.
            "R0.50");
    
        limiter.setRate(Double.POSITIVE_INFINITY);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                    handlerRegistered = true;
                }
            }
        }
    
        @BeforeEach
        void setup() throws MalformedURLException, CIFSException {
            // Common happy-path defaults
            // Use lenient() to avoid strict stubbing issues with Mockito
            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.getConfig()).thenReturn(config);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/TempFileCreator.java

        @Override
        File createTempFile(String prefix) throws IOException {
          return File.createTempFile(
              /* prefix= */ prefix,
              /* suffix= */ null,
              /* directory= */ null /* defaults to java.io.tmpdir */);
        }
    
        /** Maximum loop count when creating temp directories. */
        private static final int TEMP_DIR_ATTEMPTS = 10000;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 18:50:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals(Trans2FindFirst2.LIST_SIZE, next.maxDataCount, "Max data count should use LIST_SIZE");
            assertEquals((byte) 0x00, next.maxSetupCount, "Max setup count must be 0");
    
            // Information level defaults to BOTH_DIRECTORY_INFO (0x104) — check via parameters encoding
            byte[] buf = new byte[2 + 2 + 2 + 4 + 2 + filename.length() + 1];
            int n = next.writeParametersWireFormat(buf, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

      /** Default connect timeout (in milliseconds). The default is 10 seconds. */
      @get:JvmName("connectTimeoutMillis")
      val connectTimeoutMillis: Int = builder.connectTimeout
    
      /** Default read timeout (in milliseconds). The default is 10 seconds. */
      @get:JvmName("readTimeoutMillis")
      val readTimeoutMillis: Int = builder.readTimeout
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/DocumentUtil.java

        }
    
        /**
         * Gets a typed value from a document map with a default value.
         *
         * @param <T> the type to convert the value to
         * @param doc the document map to extract the value from
         * @param key the key to look up in the document map
         * @param clazz the class type to convert the value to
         * @param defaultValue the default value to return if the key is not found or conversion fails
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        private int maxReceiveSize;
        private int maxFragmentedSize;
    
        /**
         * Create SMB Direct Negotiate Response
         */
        public SmbDirectNegotiateResponse() {
            // Initialize with defaults
            this.minVersion = SmbDirectNegotiateRequest.MIN_VERSION;
            this.maxVersion = SmbDirectNegotiateRequest.MAX_VERSION;
            this.negotiatedVersion = SmbDirectNegotiateRequest.MAX_VERSION;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RequestDataTest.java

            data.setMethod(Constants.HEAD_METHOD);
            assertEquals(Method.HEAD, data.getMethod());
        }
    
        public void test_methodStringSetterUnknown() {
            // Test String-based method setter with unknown method defaults to GET
            RequestData data = new RequestData();
            data.setMethod("UNKNOWN");
            assertEquals(Method.GET, data.getMethod());
    
            data.setMethod("PUT");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            assertArrayEquals(key.getKey(), context.getLeaseKey().getKey());
            assertEquals(DirectoryLeaseState.DIRECTORY_READ_HANDLE, context.getLeaseState());
    
            // Directory-specific fields should retain defaults
            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, context.getCacheScope());
            assertEquals(30000L, context.getMaxCacheAge());
            assertTrue(context.isNotificationEnabled());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/BaseEncoding.java

     * <th>Alphabet
     * <th>{@code char:byte} ratio
     * <th>Default padding
     * <th>Comments
     * <tr>
     * <td>{@link #base16()}
     * <td>0-9 A-F
     * <td>2.00
     * <td>N/A
     * <td>Traditional hexadecimal. Defaults to upper case.
     * <tr>
     * <td>{@link #base32()}
     * <td>A-Z 2-7
     * <td>1.60
     * <td>=
     * <td>Human-readable; no possibility of mixing up 0/O or 1/I. Defaults to upper case.
     * <tr>
     * <td>{@link #base32Hex()}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 06 14:51:47 UTC 2025
    - 41.7K bytes
    - Viewed (0)
Back to top