Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 294 for initVal (0.07 sec)

  1. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        }
    
        // ---------------- Flag manipulation tests -----------------
        @Test
        @DisplayName("Default flag value is zero")
        void testDefaultFlags() {
            assertEquals(0, msg.getFlags(), "Initial flags should be 0");
        }
    
        @ParameterizedTest(name = "setFlags({0}) ➜ getFlags() == {0}")
        @ValueSource(ints = { 0x0, 0x1, 0x2, 0xFFFFFFFF, -123456 })
        void testSetAndGetFlags(int value) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

        CompactHashSet<E> set = createWithExpectedSize(elements.length);
        Collections.addAll(set, elements);
        return set;
      }
    
      /**
       * Creates a {@code CompactHashSet} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without growth.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test multiple path operations")
        void testMultiplePathOperations() {
            request = new Smb2CreateRequest(mockConfig, "initial\\path.txt");
            assertEquals("\\initial\\path.txt", request.getPath());
    
            request.setPath("\\second\\path.txt");
            assertEquals("\\second\\path.txt", request.getPath());
    
            request.setPath("third\\path\\");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     * the following strategies:
     *
     *  1. If the current call already has a connection that can satisfy the request it is used. Using
     *     the same connection for an initial exchange and its follow-ups may improve locality.
     *
     *  2. If there is a connection in the pool that can satisfy the request it is used. Note that it is
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            @DisplayName("Should decode zero correctly")
            void testDecodeZero() throws NdrException {
                // Given: NdrShort and mock returning zero
                NdrShort ndrShort = new NdrShort(100); // Initial value should be overwritten
                when(mockBuffer.dec_ndr_short()).thenReturn(0);
    
                // When: Decoding the value
                ndrShort.decode(mockBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertTrue(ex.getMessage().contains("Cannot use netbios/short names"));
        }
    
        @Test
        @DisplayName("createContext: no Kerberos in initial token and no fallback -> throws")
        void createContext_noKerberosNoFallback_throws() throws CIFSException {
            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. docs/features/interceptors.md

        .header("User-Agent", "OkHttp Example")
        .build();
    
    Response response = client.newCall(request).execute();
    response.body().close();
    ```
    
    When we run this code, the interceptor runs twice. Once for the initial request to `http://www.publicobject.com/helloworld.txt`, and another for the redirect to `https://publicobject.com/helloworld.txt`.
    
    ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        implements ClassToInstanceMap<B>, Serializable {
    
      /**
       * Returns a new {@code MutableClassToInstanceMap} instance backed by a {@link HashMap} using the
       * default initial capacity and load factor.
       */
      public static <B extends @Nullable Object> MutableClassToInstanceMap<B> create() {
        return new MutableClassToInstanceMap<>(new HashMap<Class<? extends @NonNull B>, B>());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       * {@link #setNameFormat} accepts a thread name <i>format string</i> (e.g., {@code
       * threadFactoryBuilder.setNameFormat("rpc-pool-%d")}), while {@code threadBuilder.name()} accepts
       * a thread name <i>prefix</i> and initial counter value (e.g., {@code
       * threadBuilder.name("rpc-pool-", 0)}.
       *
       * @param nameFormat a {@link String#format(String, Object...)}-compatible format String, to which
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            dataStoreParams.put("key1", null);
            assertNull(dataStoreParams.get("key1"));
        }
    
        // Test multiple operations in sequence
        public void test_multipleOperations() {
            // Add initial values
            dataStoreParams.put("key1", "value1");
            dataStoreParams.put("key2", 123);
    
            // Add more values using putAll
            Map<String, String> additionalParams = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top