- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 681 for 1004 (0.02 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
if (deltaSeconds == Long.MIN_VALUE) { expiresAt = Long.MIN_VALUE } else if (deltaSeconds != -1L) { val deltaMilliseconds = if (deltaSeconds <= Long.MAX_VALUE / 1000) { deltaSeconds * 1000 } else { Long.MAX_VALUE } expiresAt = currentTimeMillis + deltaMilliseconds if (expiresAt < currentTimeMillis || expiresAt > MAX_DATE) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
assertNotNull(json); assertTrue(json.contains("\"type\":\"heartbeat\"")); assertTrue(json.contains("\"instanceId\":\"test-instance\"")); assertTrue(json.contains("\"createdTime\":1000")); } @Test public void test_toJson_emptyMap() { final String json = coordinatorHelper.toJson(Map.of()); assertEquals("{}", json); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
() -> { currentFuture.get().addListener(listener, executor); return null; }); } assertEquals(allTasks.size() + 1, barrier.getParties()); for (int i = 0; i < 1000; i++) { Collections.shuffle(allTasks); AbstractFuture<String> future = new AbstractFuture<String>() {}; currentFuture.set(future); for (Callable<?> task : allTasks) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 14K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
} @Test public void test_longMessage() { // Setup - test with a very long message final StringBuilder longMessageBuilder = new StringBuilder(); for (int i = 0; i < 1000; i++) { longMessageBuilder.append("Query segment ").append(i).append("; "); } final String longMessage = longMessageBuilder.toString();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.9K bytes - Click Count (0) -
internal/s3select/csv/reader.go
// return the buffer until the next newline occurs. // The last block will be sent along with an io.EOF. func (r *Reader) nextSplit(skip int, dst []byte) ([]byte, error) { if cap(dst) < skip { dst = make([]byte, 0, skip+1024) } dst = dst[:skip] if skip > 0 { n, err := io.ReadFull(r.buf, dst) if err != nil && err != io.ErrUnexpectedEOF { // If an EOF happens after reading some but not all the bytes,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
HashBiMap<String, String> bimap = HashBiMap.create(map); assertThat(bimap.get("canada")).isEqualTo("dollar"); assertThat(bimap.inverse().get("dollar")).isEqualTo("canada"); } private static final int N = 1000; public void testBashIt() throws Exception { BiMap<Integer, Integer> bimap = HashBiMap.create(N); BiMap<Integer, Integer> inverse = bimap.inverse(); for (int i = 0; i < N; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
final SmbNegotiationResponse nego = transport.getNegotiateResponse(); if (nego instanceof SmbComNegotiateResponse) { return ((SmbComNegotiateResponse) nego).getServerData().serverTimeZone * 1000 * 60L; } return 0; } } /** * {@inheritDoc} * * @throws SmbException * * @see jcifs.SmbTreeHandle#getOEMDomainName()
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
assertTrue(result.contains("pipeName=null")); } @Test @DisplayName("Test with large data") void testWithLargeData() { // Given byte[] largeData = new byte[1000]; Arrays.fill(largeData, (byte) 0x42); transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, largeData, 0, largeData.length); byte[] dst = new byte[2000]; // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/CrudTestBase.java
public abstract class CrudTestBase extends ITBase { protected static final int NUM = 10; // Reduced from 20 - still sufficient for CRUD testing protected static final int SEARCH_ALL_NUM = 1000; private static final Logger logger = LogManager.getLogger(CrudTestBase.class); // ================ // Abstract Methods // ================ abstract protected String getNamePrefix();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 21 13:29:45 GMT 2025 - 9.2K bytes - Click Count (0)