- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 87 for getattr (0.08 seconds)
-
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) -
tensorflow/c/c_api_internal.h
// rank is known), then it must be equal to the length of `shapes[i]`; if // `ranks[i] == 1`, then `shapes[i]` may be nullptr. // // TODO(akshayka): Implement a corresponding getter method. void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output, int num_shapes_and_types, const int64_t** shapes,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 7.5K bytes - Click Count (0) -
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/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
} } @Test void testConstructorAndGettersWithValidTicket() throws IOException, GeneralSecurityException, PACDecodingException { // Test successful instantiation and getter methods with a valid ticket byte[] validToken = createTestTicketBytes(new BigInteger(KerberosConstants.KERBEROS_VERSION), SERVER_REALM, SERVER_PRINCIPAL_NAME, ENCRYPTION_TYPE, ENCRYPTED_DATA, null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K 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/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
@DisplayName("Should initialize remaining to zero") void testInitialRemainingValue() { assertEquals(0, response.getRemaining()); } } @Nested @DisplayName("Getter Tests") class GetterTests { @Test @DisplayName("Should get count value") void testGetCount() { // Initial value should be 0 assertEquals(0, response.getCount());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K 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/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java
// Data should still be accessible assertEquals("Should still have 1 word", 1, suggester.getAllWordsNum()); } // ============================================================ // Tests for getter methods // ============================================================ @Test public void test_getIndex() throws Exception { Suggester suggester = createSuggester();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.4K bytes - Click Count (0)