- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 167 for act (0.01 seconds)
-
CLAUDE.md
- Comprehensive Javadoc on public APIs ## Test Conventions - Test class names end with `Test` - Test methods start with `test_` prefix - Tests use `## Arrange ##`, `## Act ##`, `## Assert ##` comments - Some integration tests require network access ## Important Notes for AI Assistants 1. **Resource Management**: Always use try-with-resources with `CurlResponse`.
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jan 08 07:28:24 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/contribute/code_of_conduct.md
documentation may negatively impact others. * **Be respectful**: We expect people to work together to resolve conflict, assume good intentions, and act with empathy. Do not turn disagreements into personal attacks. * **Be collaborative**: Collaboration reduces redundancy and improves the quality of our work. We
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
String path = dir.getPath(); // Accept files in /share/folder/ that are text files return path.equals("/share/folder/") && name != null && name.endsWith(".txt"); }; // Act & Assert: test with different file names assertTrue(filter.accept(mockDir, "document.txt"), "Should accept .txt files in the correct path");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/RequestParamTest.java
void enumUsedWithCollaboratorHasNoSideEffects() { // Arrange: pick a value and a mocked consumer RequestParam rp = RequestParam.NO_RETRY; // Act: pass to the collaborator consumer.accept(rp); // Assert: interaction happened exactly once with correct argument; no other calls verify(consumer, times(1)).accept(RequestParam.NO_RETRY);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
List<?> exp = copyToList(expected); List<?> act = copyToList(actual); String actString = act.toString(); // Of course we could take pains to give the complete description of the // problem on any failure. // Yeah it's n^2. for (Object object : exp) { if (!act.remove(object)) { fail( "did not contain expected element "
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
} } /** * Connect to [hostnameOrIpAddress] and return what was received. To fake an arbitrary hostname we * tell MockWebServer to act as a proxy. */ private fun requestToHostnameViaProxy(hostnameOrIpAddress: String): RecordedRequest { val heldCertificate = HeldCertificate .Builder() .commonName("server name")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
byte[] b = new byte[10]; // Fill with non-zero to verify zeroing on release for (int i = 0; i < b.length; i++) { b[i] = (byte) (i + 1); } // Act: release should zero immediately to avoid leaks impl.releaseBuffer(b); // Assert: original array is zeroed in-place for (byte value : b) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashFunction.java
* <li><b>fast:</b> perhaps self-explanatory, but often the most important consideration. * </ul> * * <h3>Providing input to a hash function</h3> * * <p>The primary way to provide the data that your hash function should act on is via a {@link * Hasher}. Obtain a new hasher from the hash function using {@link #newHasher}, "push" the relevant * data into it using methods like {@link Hasher#putBytes(byte[])}, and finally ask for the {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
JAASAuthenticator auth = spy(new JAASAuthenticator()); // Avoid real JAAS by stubbing getSubject doReturn(new Subject()).when(auth).getSubject(); // Act CredentialsInternal result = auth.renew(); // Assert interaction and return value assertSame(auth, result); verify(auth, times(1)).getSubject(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle
* Side Public License, v 1. */ import org.elasticsearch.gradle.internal.ElasticsearchJavaPlugin /* * This script plugin configures formatting for Java source using Spotless * for Gradle. Since the act of formatting existing source can interfere * with developers' workflows, we don't automatically format all code * (yet). Instead, we maintain a list of projects that are excluded from
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 09 18:53:35 GMT 2021 - 9.1K bytes - Click Count (0)