- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 192 for weight (0.06 sec)
-
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
public final class ArbitraryInstances { private static final Ordering<Field> BY_FIELD_NAME = new Ordering<Field>() { @Override public int compare(Field left, Field right) { return left.getName().compareTo(right.getName()); } }; /** * Returns a new {@code MatchResult} that corresponds to a successful match. Apache Harmony (used
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 20.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType()); try { Object actualReturnValue = method.invoke(wrapper, passedArgs); // If we think this might be a 'chaining' call then we allow the return value to either // be the wrapper or the returnValue. if (!isPossibleChainingCall || wrapper != actualReturnValue) { assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
// Cause the rebuild action to fail. filesystem.setFaultyRename(cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP, true) taskFaker.runNextTask() // In-flight editors can commit and have their values retained. commitEditor.setString(0, "c") commitEditor.setString(1, "c") commitEditor.commit() assertValue("c", "c", "c") abortEditor.abort()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
} /** * Removes whitespace from the right side of the string. * * @param text * The text to trim * @return The resulting string */ public static final String rtrim(final String text) { return rtrim(text, null); } /** * Removes the specified characters from the right side of the string. * * @param text
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 21.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* field should be used for calculating that. This would likely be zero * but an implemantation that encorporates the transport header(for * efficiency) might use a different initial bufferIndex. For example, * to eliminate copying data when writing NbtSession data one might * manage that 4 byte header specifically and therefore the initial * bufferIndex, and thus headerStart, would be 4).(NOTE: If one where
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
assertFalse(result); assertEquals(1, chain1.changePasswordCallCount); assertEquals(1, chain2.changePasswordCallCount); // allMatch may short-circuit, so chain3 might not be called assertTrue(chain3.changePasswordCallCount <= 1); } // Test delete with no chains public void test_delete_noChains() { User user = createTestUser("testuser");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
} public void test_XContentBuilderCallback_nullBuilder() { XContentBuilderCallback callback = (builder, params) -> { // Test behavior when builder operations might fail if (builder == null) { throw new IOException("Builder is null"); } builder.startObject(); builder.field("null_test", "value");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
/** * Prevents the given methods from being run as part of the test suite. * * <p>Note: in principle this should never need to be used, but it might be useful if the * semantics of an implementation disagree in unforeseen ways with the semantics expected by a * test, or to keep dependent builds clean in spite of an erroneous test. */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
log.warn("Error creating SmbFile from cache for {}: {}", fileInfo.getName(), e.getMessage()); // For testing purposes, continue processing other files // In a real scenario, you might want to handle this differently } } return files; } /** * Update directory cache with new listing * * @param directoryPath directory path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
// package when it is listed in the 'java.protocol.handler.pkgs' system property. // We use mock handlers since actual system handlers might not be available in test environment. System.setProperty("java.protocol.handler.pkgs", "jcifs"); setupMockProtocolHandlers(); URL url = new URL("http://example.com/resource");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)