- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 205 for getBar (0.04 seconds)
-
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertNotNull(e.getMessage()); // Should have an error message } @Test void testGetters() { // Simple test for getter methods NtlmContext context = new NtlmContext(mockAuth, true); assertFalse(context.isEstablished()); assertNull(context.getServerChallenge()); assertNull(context.getSigningKey());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
} /** * Returns the value at the specified index. * * @param index * the index * @return the value at the specified index */ public V getAt(final int index) { return getEntryAt(index).getValue(); } /** * Returns the key at the specified index. * * @param index * the indexCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 20.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
} } @Test public void test_genericTypeSafety_consistencyBetweenConstructorAndGetter() { // Verify consistency between constructor parameter type and getter return type // This test ensures the generic type change is consistent throughout the class // Test with RootAction.class Class<? extends RootAction> inputClass1 = RootAction.class;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertEquals(123, item.getId()); assertEquals("and", item.getInput()); assertNull(item.getNewInput()); } @Test public void test_getNewInput_setNewInput() { // Test getter and setter for newInput StopwordsItem item = new StopwordsItem(1, "or"); assertNull(item.getNewInput()); item.setNewInput("nor"); assertEquals("nor", item.getNewInput());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
docs/pt/docs/how-to/custom-request-and-route.md
Nesse exemplo, as *operações de rota* sob o `router` irão usar a classe `TimedRoute` personalizada, e terão um cabeçalho extra `X-Response-Time` na resposta com o tempo que levou para gerar a resposta:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.9K bytes - Click Count (0) -
tests/test_default_response_class.py
@app.get("/") def get_root(): return {"msg": "Hello World"} @app.get("/override", response_class=PlainTextResponse) def get_path_override(): return "Hello World" @router_a.get("/") def get_a(): return {"msg": "Hello A"} @router_a.get("/override", response_class=PlainTextResponse) def get_a_path_override(): return "Hello A" @router_a_a.get("/") def get_a_a():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 20:49:20 GMT 2020 - 5.2K bytes - Click Count (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
* Sets the level and returns this. * * This was deprecated in OkHttp 4.0 in favor of the [level] val. In OkHttp 4.3 it is * un-deprecated because Java callers can't chain when assigning Kotlin vals. (The getter remains * deprecated). */ fun setLevel(level: Level) = apply { this.level = level } @JvmName("-deprecated_level") @Deprecated(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
data[0] = 99; assertFalse(original.equals(copy), "After mutation, original should not equal previous clone"); // Ensure arrays are independent: mutate clone's buffer via getter copy.get()[1] = 77; assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
// Given Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId); // When request.setFileId(testFileId); // Then - verify through internal state (would need getter or reflection in real scenario) // Since we can't directly verify the internal state, we create a new request to test Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertEquals(0x42, released[0]); // After release, getting buffer again should return null assertNull(transaction.releaseBuffer()); } @Test @DisplayName("Test subCommand getter and setter") void testSubCommand() { assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, transaction.getSubCommand()); transaction.setSubCommand(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0)