- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 590 for BOTH (0.02 sec)
-
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
char[] charsA = new char[128]; char[] charsB = new char[128]; for (int i = 0; i < charsA.length; i++) { if (i < 100) { charsA[i] = 'a'; charsB[i] = 'a'; } else { // Both two-byte characters, but must be different charsA[i] = (char) (0x0180 + i); charsB[i] = (char) (0x0280 + i); } } String stringA = new String(charsA);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
* <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check * will succeed because the inherited ACE allows local <code>Administrators</code> * both <code>FILE_READ_DATA</code> and <code>FILE_WRITE_DATA</code> access. * */ public class ACE implements jcifs.ACE, Decodable { /** * Default constructor for ACE */ public ACE() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
* bodies may only be used with HTTP/2. Calls to HTTP/1 servers will fail before the HTTP request * is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not * use this feature. * * ### Duplex APIs * * With regular request bodies it is not legal to write bytes to the sink passed to
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
// When: Performing multiple operations ndrShort.encode(buffer1); ndrShort.decode(buffer2); // Then: Should handle both operations correctly verify(buffer1).enc_ndr_short(50); verify(buffer2).dec_ndr_short(); assertEquals(75, ndrShort.value); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
void equalsAndHashCode_subjectSemantics() { Kerb5Authenticator a = new Kerb5Authenticator((Subject) null); Kerb5Authenticator b = new Kerb5Authenticator((Subject) null); // Both null subjects -> equal assertEquals(a, b); assertEquals(a.hashCode(), b.hashCode()); // Mixed null/non-null -> not equal Kerb5Authenticator c = new Kerb5Authenticator(new Subject());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
logger.warn(message, e); } response.sendError(e.getStatusCode(), message); } } /** * Processes API requests to the search engine. * Handles both regular API calls and plugin requests. * * @param request the HTTP servlet request * @param response the HTTP servlet response * @param path the request path after removing the prefix */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
} } } return result.toTypedArray() } /** * Returns true if there is an element in this array that is also in [other]. This method terminates * if any intersection is found. The sizes of both arguments are assumed to be so small, and the * likelihood of an intersection so great, that it is not worth the CPU cost of sorting or the * memory cost of hashing. */ internal fun Array<String>.hasIntersection(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
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) -
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) -
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)