- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 594 for direkt (0.64 seconds)
-
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
assertDoesNotThrow(() -> digest.update(data, 0, 0)); } @Test @DisplayName("Test digest method") void testDigest() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey); byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; digest.update(data, 0, data.length); byte[] result = digest.digest(); assertNotNull(result);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt
.build() assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly( Challenge("Digest", mapOf()), Challenge("Basic", mapOf("realm" to "myrealm")), ) } @Test fun unknownAuthParams() { val headers = Headers .Builder() .add("WWW-Authenticate", "Digest,,,, Basic ,,foo=bar,realm=\"myrealm\"") .build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 16.8K bytes - Click Count (0) -
tests/test_response_dependency.py
app = FastAPI() @app.get("/") def endpoint(response: Response): response.headers["X-Direct"] = "set" return {"status": "ok"} client = TestClient(app) resp = client.get("/") assert resp.status_code == 200 assert resp.json() == {"status": "ok"} assert resp.headers.get("X-Direct") == "set" def test_response_dependency_chain():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will * rarely use it directly, in part because it does not provide direct access to the {@code Future} * result. (If you want such access, you may prefer {@link Futures#addCallback * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful: * * {@snippet : * final String name = ...; * inFlight.add(name);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java
* indirectly depends on the given project. * * @param project The project whose downstream projects should be retrieved, must not be {@code null}. * @param transitive A flag whether to retrieve all direct and indirect downstream projects or just the immediate * downstream projects. * @return The downstream projects in the build order, never {@code null}. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
throws NoSuchAlgorithmException { MessageDigest digest = MessageDigest.getInstance(algorithmName); assertEquals( HashCode.fromBytes(digest.digest(input)), ALGORITHMS.get(algorithmName).hashBytes(input)); for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) { assertEquals( HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
Arrays.fill(sessionKey, (byte) 0xEE); Smb2SigningDigest digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null); // Close multiple times should not throw digest.close(); digest.close(); digest.secureWipeKey(); digest.close(); // Operations should still fail byte[] data = new byte[128];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
src/test/java/jcifs/util/CryptoTest.java
// Given byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4(); MessageDigest md5 = Crypto.getMD5(); byte[] md4Hash = md4.digest(data); byte[] md5Hash = md5.digest(data); // Then assertNotNull(md4Hash); assertNotNull(md5Hash); assertEquals(16, md4Hash.length); assertEquals(16, md5Hash.length); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
* advantage of <a * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond" * syntax</a>. */ @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call public static <E extends @Nullable Object> ArrayList<E> newArrayList() { return new ArrayList<>(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/MessageDigestHashFunction.java
} /** Hasher that updates a message digest. */ private static final class MessageDigestHasher extends AbstractByteHasher { private final MessageDigest digest; private final int bytes; private boolean done; private MessageDigestHasher(MessageDigest digest, int bytes) { this.digest = digest; this.bytes = bytes; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.9K bytes - Click Count (0)