Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,029 for sizeOf (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        assertEquals(size + 2, multimap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutNullValue_supported() {
        int size = getNumElements();
    
        multimap().put(k3(), null);
    
        assertGet(k3(), Lists.newArrayList((V) null)); // ImmutableList.of can't take null.
        assertEquals(size + 1, multimap().size());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test size method returns 8")
        void testSize() {
            assertEquals(8, fileInfo.size());
    
            // Test with different instance
            FileEndOfFileInformation info = new FileEndOfFileInformation(999L);
            assertEquals(8, info.size());
        }
    
        @Test
        @DisplayName("Test encode method with valid buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test size calculation with empty dialects array")
        void testSizeWithEmptyDialects() {
            int[] emptyDialects = new int[0];
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, DEFAULT_SECURITY_MODE, emptyDialects);
    
            // Expected size: 24 (fixed) + 0
            assertEquals(24, request.size());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            List<String> elements = project.getCompileClasspathElements();
            assertEquals(2, elements.size());
    
            @SuppressWarnings("deprecation")
            List<Artifact> artifacts = project.getCompileArtifacts();
            assertEquals(1, artifacts.size());
            assertThat(artifacts.get(0).getFile().getName(), endsWith("tools.jar"));
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

            assertEquals(0, urlFilter.cachedExcludeSet.size());
            assertEquals(1, dataHelper.getIncludeUrlPatternList(sessionId).size());
            assertEquals(0, dataHelper.getExcludeUrlPatternList(sessionId).size());
        }
    
        public void test_addInclude2() {
            assertEquals(0, urlFilter.cachedIncludeSet.size());
            assertEquals(0, urlFilter.cachedExcludeSet.size());
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationTest.java

            assertEquals((byte) 0xEE, negotiation.getResponseRaw()[0]);
        }
    
        @Test
        @DisplayName("Test with different buffer sizes")
        void testWithDifferentBufferSizes() {
            // Test with buffers of different sizes
            byte[] smallBuffer = new byte[] { 0x01 };
            byte[] mediumBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Hexdump.java

         * @param size the number of hex digits to write (will be left-padded with zeros)
         */
        public static void toHexChars(long val, final char dst[], final int dstIndex, int size) {
            while (size > 0) {
                dst[dstIndex + size - 1] = HEX_DIGITS[(int) (val & 0x000FL)];
                if (val != 0) {
                    val >>>= 4;
                }
                size--;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/Hexdump.java

         * @return a hexadecimal string representation of the byte array
         */
        public static String toHexString(final byte[] src, final int srcIndex, int size) {
            final char[] c = new char[size];
            size = size % 2 == 0 ? size / 2 : size / 2 + 1;
            for (int i = 0, j = 0; i < size; i++) {
                c[j] = HEX_DIGITS[src[i] >> 4 & 0x0F];
                j++;
                if (j == c.length) {
                    break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. cmd/last-minute_gen.go

    		switch msgp.UnsafeString(field) {
    		case "Total":
    			z.Total, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Total")
    				return
    			}
    		case "Size":
    			z.Size, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "N":
    			z.N, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "N")
    				return
    			}
    		default:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  10. src/builtin/builtin.go

    //     specified number of elements. The size may be omitted, in which case
    //     a small starting size is allocated.
    //   - Channel: The channel's buffer is initialized with the specified
    //     buffer capacity. If zero, or the size is omitted, the channel is
    //     unbuffered.
    func make(t Type, size ...IntegerType) Type
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 30 23:59:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top