- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 7,952 for Returns (0.06 seconds)
-
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
assertEquals("a", new SynonymItem(1, new String[] { "a" }, new String[] { "a" }).toLineString()); } @Test public void test_defensiveCopy_inputs() { // Test that getInputs() returns defensive copy String[] originalInputs = { "a", "b", "c" }; SynonymItem item = new SynonymItem(1, originalInputs, new String[] { "x" }); String[] returnedInputs = item.getInputs();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8K bytes - Click Count (1) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
} if (list.isEmpty()) { logger.log("WCL0014", rootPackage); return EMPTY_ARRAY; } return list.toArray(new Traverser[list.size()]); } /** * Creates and returns a {@link Traverser} for handling the specified URL. * <p> * Returns <code>null</code> if the protocol of the URL is unknown. * </p> * * @param urlCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 18.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
fun cancel() /** * Returns true if this call has been either [executed][execute] or [enqueued][enqueue]. It is an * error to execute a call more than once. */ fun isExecuted(): Boolean fun isCanceled(): Boolean /** * Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 6.8K bytes - Click Count (0) -
internal/logger/reqinfo.go
LogIf(context.Background(), "", fmt.Errorf("context is nil")) return nil } return context.WithValue(ctx, contextLogKey, req) } // GetReqInfo returns ReqInfo if set. func GetReqInfo(ctx context.Context) *ReqInfo { if ctx != nil { r, ok := ctx.Value(contextLogKey).(*ReqInfo) if ok { return r } r = &ReqInfo{} return r } return nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
assertTrue(result >= 0, "writeBytesWireFormat should return non-negative value"); } @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[1024]; int result = setupAndX.readParameterWordsWireFormat(buffer, 0); // The implementation always returns 0 assertEquals(0, result, "readParameterWordsWireFormat returns 0"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
// Test writeDataWireFormat returns 0 response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); byte[] buffer = new byte[10]; int written = response.writeDataWireFormat(buffer, 0); assertEquals(0, written); } @Test void testReadSetupWireFormat() { // Test readSetupWireFormat returns 0Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
} @Test public void test_constructorWithScheduledJob_nullToString() { // Test with scheduled job that returns null from toString ScheduledJob scheduledJob = new ScheduledJob() { @Override public String toString() { return null; } }; JobNotFoundException exception = new JobNotFoundException(scheduledJob);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.2K bytes - Click Count (0) -
cmd/object-handlers-common.go
// use mtime < t+1s instead of mtime <= t to check for unmodified. return !objTime.Before(givenTime.Add(1 * time.Second)) } // canonicalizeETag returns ETag with leading and trailing double-quotes removed, // if any present func canonicalizeETag(etag string) string { return etagRegex.ReplaceAllString(etag, "$1") } // isETagEqual return true if the canonical representations of two ETag strings
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 23 12:36:06 GMT 2025 - 15.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
/** * Returns the pattern string for {@link DateFormat#SHORT} style in the default locale. * * @return the pattern string for {@link DateFormat#SHORT} style */ public static String getShortPattern() { return getShortPattern(LocaleUtil.getDefault()); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 19.6K bytes - Click Count (0)