Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 615 for _both (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            byte[] packet = buildPacket(header, body, null, null);
            resp.decode(packet, 0, false); // marks as received
    
            // Create a request that implements both CommonServerMessageBlockRequest and RequestWithFileId
            CommonServerMessageBlockRequest next =
                    mock(CommonServerMessageBlockRequest.class, withSettings().extraInterfaces(RequestWithFileId.class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password);
    
            // Assert: overloads consistent
            assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key");
    
            // Changing domain should change the key (domain is part of MAC input)
            byte[] differentDomain = NtlmUtil.nTOWFv2("DOMAIN", user, password);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            allHeaders.put(null, Collections.singletonList(statusLine)); // Status line
            when(conn.getHeaderFields()).thenReturn(allHeaders);
    
            // Mock individual header access by both string key and index
            if (headers != null) {
                // Mock by header name
                for (Map.Entry<String, List<String>> entry : headers.entrySet()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. cmd/net.go

    		// If empty host means it is localhost
    		addr2Local = true
    	} else if addr2Local, err = isLocalHost(host2, port2, port2); err != nil {
    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	// If both of addresses point to the same machine, check if
    	// have the same port
    	if addr1Local && addr2Local {
    		if port1 == port2 {
    			return true, nil
    		}
    	}
    	return false, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

     * Katakana string into a list of possible Alphabet readings. It uses a predefined mapping of Katakana
     * characters to their Alphabet equivalents, handling both single and double Katakana character combinations.
     * </p>
     *
     * <p>
     * The conversion process involves iterating through the input string, identifying Katakana characters,
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            };
    
            DataConfig config = new DataConfig();
            DataStoreParams params = new DataStoreParams();
            IndexUpdateCallback callback = new TestIndexUpdateCallback();
    
            // Execute on both instances
            dataStore1.store(config, callback, params);
            dataStore2.store(config, callback, params);
            dataStore2.store(config, callback, params);
    
            // Verify independent operation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

       * the already-requested ones are in service, otherwise we might create more threads than we need.
       *
       * We use [executeCallCount] and [runCallCount] to defend against starting more threads than we
       * need. Both fields are guarded by `this`.
       */
      private var executeCallCount = 0
      private var runCallCount = 0
    
      /** Queues with tasks that are currently executing their [TaskQueue.activeTask]. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Cache.java

       * {@link LoadingCache#get(Object) get(K)} method instead of this one.
       *
       * <p>Among the improvements that this method and {@code LoadingCache.get(K)} both provide are:
       *
       * <ul>
       *   <li>{@linkplain LoadingCache#get(Object) awaiting the result of a pending load} rather than
       *       starting a redundant one
       *   <li>eliminating the error-prone caching boilerplate
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacMac.java

            case 23:
                ms_usage = 13;
            }
            return ms_usage;
        }
    
        /**
         * Calculates a MAC using HMAC-SHA1 with AES key derivation.
         * This method supports both AES-128 and AES-256 encryption types.
         *
         * @param usage the Kerberos key usage number for this operation
         * @param baseKey the base Kerberos key for key derivation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            verify(mockNdrBuffer).enc_ndr_long(1); // type
            verify(mockNdrBuffer).enc_ndr_referent("Test Remark", 1);
            verify(mockNdrBuffer, times(2)).enc_ndr_long(2); // permissions and sd_size both have value 2
            verify(mockNdrBuffer).enc_ndr_long(10); // max_uses
            verify(mockNdrBuffer).enc_ndr_long(5); // current_uses
            verify(mockNdrBuffer).enc_ndr_referent("C:\\test", 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top