Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 658 for sekonda (0.14 sec)

  1. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

            doc1.put("id", "1");
            builder1.addDocument(doc1);
            builder1.allRecordCount(1L);
            SearchResult result1 = builder1.build();
    
            // Create second result with two documents using a new builder
            SearchResult.SearchResultBuilder builder2 = SearchResult.create();
            Map<String, Object> doc2a = new HashMap<>();
            doc2a.put("id", "2a");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertNotNull(output);
            assertTrue(output.contains("00000:"));
            assertTrue(output.contains("00010:")); // Second line offset
    
            // Verify first line contains bytes 0-15
            assertTrue(output.contains(" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F"));
            // Verify second line contains bytes 16-31
            assertTrue(output.contains(" 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertEquals(2, bytesWritten, "Should write 2 bytes.");
            assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, dst[0], "The first byte should be the subCommand.");
            assertEquals((byte) 0x00, dst[1], "The second byte should be 0.");
        }
    
        /**
         * Tests the writeParametersWireFormat method.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            assertEquals(4, written, "Setup should write 4 bytes");
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0], "First byte should be subCommand");
            assertEquals(0, dst[1], "Second byte should be 0");
            assertEquals(0, dst[2], "Third byte should be 0 (no FID)");
            assertEquals(0, dst[3], "Fourth byte should be 0 (no FID)");
        }
    
        @Test
        public void testReadSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                // Get local midnight boundary
                Calendar cal = Calendar.getInstance();
    
                cal.set(Calendar.HOUR_OF_DAY, 0);
                cal.set(Calendar.MINUTE, 0);
                cal.set(Calendar.SECOND, 0);
                cal.set(Calendar.MILLISECOND, 0);
    
                if (cal.getTime().after(lastModified)) {
                    checkForUpdates = true;
                }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    func (r BatchJobExpire) Notify(ctx context.Context, body io.Reader) error {
    	if r.NotificationCfg.Endpoint == "" {
    		return nil
    	}
    
    	ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
    	defer cancel()
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, r.NotificationCfg.Endpoint, body)
    	if err != nil {
    		return err
    	}
    
    	if r.NotificationCfg.Token != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Second group should be AnotherTestGroup", AnotherTestGroup.class, multiAnnotation.groups()[1]);
    
            assertEquals("Should have 2 payloads", 2, multiAnnotation.payload().length);
            assertEquals("First payload should be TestPayload", TestPayload.class, multiAnnotation.payload()[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request = new Smb2CreateRequest(mockConfig, "initial\\path.txt");
            assertEquals("\\initial\\path.txt", request.getPath());
    
            request.setPath("\\second\\path.txt");
            assertEquals("\\second\\path.txt", request.getPath());
    
            request.setPath("third\\path\\");
            assertEquals("\\third\\path", request.getPath());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("Binary constructor with invalid sub_authority_count throws RuntimeCIFSException")
            void testBinaryConstructorInvalidCount() {
                // Arrange: second byte is sub_authority_count > 100
                byte[] bytes = new byte[1 + 1 + 6];
                bytes[0] = 1; // revision
                bytes[1] = (byte) 101; // invalid count
    
                // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. tests/lru_test.go

    		t.Errorf("Expected key1 to exist, but it was evicted")
    	}
    }
    
    func TestLRU_Add_Eviction(t *testing.T) {
    	lru := lru.NewLRU[string, int](0, nil, time.Second*2)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    	time.Sleep(time.Second * 3)
    	if lru.Cap() != 0 {
    		t.Errorf("Expected lru to be empty, but it was not")
    	}
    
    }
    
    func BenchmarkLRU_Rand_NoExpire(b *testing.B) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top