Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 2,029 for sizeOf (0.04 sec)

  1. src/bytes/boundary_test.go

    		for i := range b {
    			idx := Index(b[i:], q[:j])
    			if idx != -1 {
    				t.Fatalf("Index(b[%d:], q[:%d])=%d, want -1\n", i, j, idx)
    			}
    		}
    		q[j-1] = 0
    	}
    
    	// Test differing alignments and sizes of q which always end on a page boundary.
    	q[len(q)-1] = 1 // difference is only found on the last byte
    	for j := 0; j < len(q); j++ {
    		for i := range b {
    			idx := Index(b[i:], q[j:])
    			if idx != -1 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 30 20:05:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. docs/smb3-features/04-directory-leasing-design.md

            private final long size;
            private final long lastModified;
            private final boolean isDirectory;
            private final long attributes;
            private final long creationTime;
            private final long lastAccessTime;
            
            public FileInfo(String name, SmbFileAttributes attrs) {
                this.name = name;
                this.size = attrs.getSize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty();
          AbstractNetworkTest.validateNetwork(network);
    
          while (network.nodes().size() < NUM_NODES) {
            network.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
          ArrayList<Integer> nodeList = new ArrayList<>(network.nodes());
          for (int i = 0; i < NUM_EDGES; ++i) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            bufferIndex += 4;
            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size() {
            return 40;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

                bufferIndex += 6; // 2 + 4 for reserved fields
            }
    
            return bufferIndex - start;
        }
    
        @Override
        public int size() {
            return 20; // Fixed size: 2 + 2 + 4 + 12 (transform structure)
        }
    
        /**
         * Check if RDMA is supported based on this context
         *
         * @return true if RDMA Transform V1 is supported
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(1, 1));
        assertThat(expected).hasMessageThat().isEqualTo("index (1) must be less than size (1)");
      }
    
      public void testCheckElementIndex_withDesc_negative() {
        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(-1, 1, "foo"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(1, 1));
        assertThat(expected).hasMessageThat().isEqualTo("index (1) must be less than size (1)");
      }
    
      public void testCheckElementIndex_withDesc_negative() {
        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(-1, 1, "foo"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/Suggester.java

                }
                if (updateIndices.size() != 1) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Unexpected update indices num: {}", updateIndices.size());
                    }
                    throw new SuggesterException("Unexpected update indices num:" + updateIndices.size());
                }
                final String updateIndex = updateIndices.get(0);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(0, bytesWritten);
        }
    
        @Test
        @DisplayName("Should handle error response structure size 9")
        void testReadBytesWireFormatErrorResponse() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int bufferIndex = 0;
    
            // Write structure size (9) - indicates error response
            SMBUtil.writeInt2(9, buffer, bufferIndex);
            // Write error context and error data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

                urlSet.add("http://example" + i + ".com/robots.txt");
            }
            assertEquals(10000, urlSet.size());
    
            // Add one more should maintain size at 10000 (LRU eviction)
            urlSet.add("http://overflow.com/robots.txt");
            assertEquals(10000, urlSet.size());
            assertTrue(urlSet.contains("http://overflow.com/robots.txt"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top