Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 905 for setEnd (0.04 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(response1.body.string()).isEqualTo("first")
    
        // Second request hits the network again because the first entry was not cacheable
        val response2 = client.newCall(Request(server.url("/"))).execute()
        assertThat(response2.body.string()).isEqualTo("second")
        assertThat(response2.cacheResponse).isNull()
      }
    
      @Test
      fun responseCachingAndRedirects() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

            assertEquals(0, session.getMessageCount());
    
            session.addUserMessage("First");
            assertEquals(1, session.getMessageCount());
    
            session.addAssistantMessage("Second");
            assertEquals(2, session.getMessageCount());
        }
    
        @Test
        public void test_getMessageCountWithNullMessages() {
            final ChatSession session = new ChatSession();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

            RankFusionProcessor processor = new RankFusionProcessor();
            processor.setSearcher(new TestSearcher(100));
            processor.init();
    
            // First close
            processor.close();
            // Second close - should not throw exception
            processor.close();
        }
    
        /**
         * Test searcher that returns configurable number of documents.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

         * @return polling interval in milliseconds
         */
        private long determinePollInterval(ChangeNotificationHandle handle) {
            int failures = getFailureCount(handle);
    
            // Base interval starts at 1 second, increases with failures
            // Max interval is 30 seconds for inactive directories
            return Math.min(MAX_POLL_INTERVAL, BASE_POLL_INTERVAL + (failures * 2000));
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  5. fastapi/security/http.py

        `HTTPDigest` in a dependency.
    
        The HTTP authorization header value is split by the first space.
    
        The first part is the `scheme`, the second part is the `credentials`.
    
        For example, in an HTTP Bearer token scheme, the client will send a header
        like:
    
        ```
        Authorization: Bearer deadbeef12346
        ```
    
        In this case:
    
        * `scheme` will have the value `"Bearer"`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  6. internal/config/certs_test.go

    		if err != nil {
    			os.Remove(privateKey)
    			t.Fatalf("Test %d: failed to create tmp certificate file: %v", i, err)
    		}
    
    		if testCase.password != "" {
    			t.Setenv(EnvCertPassword, testCase.password)
    		}
    		_, err = LoadX509KeyPair(certificate, privateKey)
    		if err != nil && !testCase.shouldFail {
    			t.Errorf("Test %d: test should succeed but it failed: %v", i, err)
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            assertNotNull(polled);
            assertEquals("http://www.example.com/page1", polled.getUrl());
            assertEquals(sessionId, polled.getSessionId());
    
            // Second poll should return null (queue is empty)
            final OpenSearchUrlQueue polled2 = urlQueueService.poll(sessionId);
            assertNull(polled2);
    
            urlQueueService.delete(sessionId);
        }
    
        @Test
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java

            boolean firstCreate = suggester.createIndexIfNothing();
            assertTrue("First call should create index", firstCreate);
    
            boolean secondCreate = suggester.createIndexIfNothing();
            assertFalse("Second call should return false (already exists)", secondCreate);
        }
    
        @Test
        public void test_createIndexIfNothing_multipleCallsAreSafe() 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)
  9. cmd/format-erasure.go

    		This    string `json:"this"`    // This field carries assigned disk uuid.
    		// Sets field carries the input disk order generated the first
    		// time when fresh disks were supplied, it is a two dimensional
    		// array second dimension represents list of disks used per set.
    		Sets [][]string `json:"sets"`
    		// Distribution algorithm represents the hashing algorithm
    		// to pick the right set index for an object.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                assertEquals(100L, SMBUtil.readInt8(buffer, 0));
                assertEquals(200L, SMBUtil.readInt8(buffer, 8));
                assertEquals(300, SMBUtil.readInt4(buffer, 16));
    
                // Verify second chunk
                assertEquals(400L, SMBUtil.readInt8(buffer, EXPECTED_SIZE));
                assertEquals(500L, SMBUtil.readInt8(buffer, EXPECTED_SIZE + 8));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
Back to Top