- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 762 for chunks (0.1 seconds)
-
src/main/java/org/codelibs/core/lang/StringUtil.java
/** * Checks if the string is empty or null. * * @param text the string to check * @return true if empty or null, false otherwise */ public static final boolean isEmpty(final String text) { return text == null || text.length() == 0; } /** * Checks if the string is not empty. * * @param text the string to checkCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
return SortBuilders.scoreSort().order(order); } return SortBuilders.fieldSort(field).order(order); } /** * Checks if the specified field is a search field. * Uses O(1) Set lookup for improved performance. * @param field The field name to check. * @return True if the field is a search field, false otherwise. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 11:39:05 GMT 2025 - 11.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, newValue); // Get value again - in real FessConfigImpl it would be cached, // but our test implementation always checks system properties String value2 = fessConfig.get(testKey); // In our test implementation, it will pick up the new value assertEquals(newValue, value2); } finally {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* within the same test have no effect. */ final void threadRecordFailure(Throwable t) { threadFailure.compareAndSet(null, t); } /** * Extra checks that get done for all test cases. * * <p>Triggers test case failure if any thread assertions have failed, by rethrowing, in the test * harness thread, any exception recorded earlier by threadRecordFailure. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
private final LongAddable totalLoadTime = LongAddables.create(); private final LongAddable evictionCount = LongAddables.create(); /** Constructs an instance with all counts initialized to zero. */ public SimpleStatsCounter() {} /** * @since 11.0 */ @Override public void recordHits(int count) { hitCount.add(count); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* nullness annotations in particular will outweigh the costs. (And it's worth noting that we have * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and * `-android` "flavors.") * * (We could consider releasing a listenablefuture:1.0.1 someday. But we would want to look into how
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
assertFalse( wagon.getTransferEventSupport().hasTransferListener(transferListener), "Transfer listener still registered after putArtifact"); } /** * Checks the verification of checksums. */ @Disabled @Test void testChecksumVerification() throws Exception { ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) { try { try { urls.add(new File(entry).toURI().toURL()); } catch (SecurityException e) { // File.toURI checks to see if the file is a directory urls.add(new URL("file", null, new File(entry).getAbsolutePath())); } } catch (MalformedURLException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
* @param contextFlags the context flags to set */ public void setContextFlags(final int contextFlags) { this.contextFlags = contextFlags; } /** * Checks if a specific context flag is set * @param flag the context flag to check * @return true if the flag is set, false otherwise */ public boolean getContextFlag(final int flag) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
throw new NullPointerException("tc"); } // Exercise interaction with dependency for verification purposes // These methods do not throw and allow interaction checks. tc.getConfig(); tc.getCredentials(); // Minimal behavior: return a mock SSPContext with lenient stubbing SSPContext ctx = mock(SSPContext.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0)