Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 359 for 15 (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            byte[] data = new byte[100];
            // Entry 1: SHARE1, type 0 (Disk), remark "Remark 1"
            System.arraycopy("SHARE1".getBytes(StandardCharsets.US_ASCII), 0, data, 0, 6);
            data[14] = 0x00;
            data[15] = 0x00; // type = 0
            data[16] = 40;
            data[17] = 0;
            data[18] = 0;
            data[19] = 0; // remark offset
    
            // Entry 2: IPC$, type 3 (IPC), remark "Inter-Process Communication"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            assertEquals(2, itemList2.getCurrentPageNumber());
            assertEquals(2, itemList2.getPageSize());
    
            assertEquals(0, kuromojiFile.selectList(5, 5).size());
            assertEquals(0, kuromojiFile.selectList(-1, 5).size());
        }
    
        public void test_selectList2() {
            final PagingList<KuromojiItem> itemList = kuromojiFile.selectList(0, 5);
            for (int i = 0; i < itemList.size(); i++) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/NetbiosNameTest.java

            // Then
            assertNull(scope);
        }
    
        @Test
        @DisplayName("Should handle various name lengths")
        void testVariousNameLengths() {
            // NetBIOS names can be up to 15 characters
            String[] testNames = { "A", "SERVER", "LONGSERVERNAME", "EXACTLY15CHARS1" };
    
            for (String testName : testNames) {
                when(mockNetbiosName.getName()).thenReturn(testName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(cache.asMap().keySet()).containsExactly(2, 4);
    
        CacheTesting.processPendingNotifications(cache);
        assertThat(removalListener.getCount()).isEqualTo(1);
    
        // 5 won't be cached, won't dump cache
        assertThat(cache.getUnchecked(5)).isEqualTo(5);
        assertThat(cache.asMap().keySet()).containsExactly(2, 4);
    
        CacheTesting.processPendingNotifications(cache);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    			expectedError: hash.BadDigest{ExpectedMD5: "e2fc714c4727ee9395f324cd2e7f3335", CalculatedMD5: "e2fc714c4727ee9395f324cd2e7f331f"},
    		},
    		// Test case - 15.
    		// Input with size less than the size of actual data inside the reader.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            void testSize8NoAlignment() {
                assertEquals(8, ServerMessageBlock2.size8(8));
                assertEquals(16, ServerMessageBlock2.size8(9));
                assertEquals(16, ServerMessageBlock2.size8(15));
                assertEquals(16, ServerMessageBlock2.size8(16));
                assertEquals(24, ServerMessageBlock2.size8(17));
            }
    
            @Test
            @DisplayName("Should calculate size8 with alignment")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    	// Make sure we find the correct byte even when straddling a page.
    	for i := 0; i <= len(b)-15; i++ {
    		for j := 0; j < 15; j++ {
    			b[i+j] = byte(100 + j)
    		}
    		for j := 0; j < 15; j++ {
    			p := IndexByte(b[i:i+15], byte(100+j))
    			if p != j {
    				t.Errorf("IndexByte(%q, %d) = %d", b[i:i+15], 100+j, p)
    			}
    		}
    		for j := 0; j < 15; j++ {
    			b[i+j] = 0
    		}
    	}
    	// Make sure matches outside the slice never trigger.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            void testBufferWithExtraData() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[100];
                // Write valid response data
                SMBUtil.writeInt4(15, buffer, 0);
                SMBUtil.writeInt4(16384, buffer, 4);
                SMBUtil.writeInt4(245760, buffer, 8);
                // Fill rest with random data
                for (int i = 12; i < buffer.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

                public Set<String> getApiPingEsFieldSet() {
                    return fieldSet;
                }
            };
            ComponentUtil.register(mockConfig, "fessConfig");
    
            assertEquals(15, mockConfig.getApiPingEsFieldSet().size());
            assertTrue(mockConfig.getApiPingEsFieldSet().contains("cluster_name"));
            assertTrue(mockConfig.getApiPingEsFieldSet().contains("status"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            assertEquals("callback2", callbackResults.get(1));
        }
    
        public void test_run_bufferSizeLimit() throws InterruptedException {
            StringBuilder inputBuilder = new StringBuilder();
            for (int i = 1; i <= 15; i++) {
                inputBuilder.append("line").append(i).append("\n");
            }
    
            InputStream is = new ByteArrayInputStream(inputBuilder.toString().getBytes(StandardCharsets.UTF_8));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top