Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,979 for size (0.01 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

    }
    
    /**
     * Modifies [ranges] to combine any adjacent [MappedRange.InlineDelta] of same size to single entry.
     * @returns same instance of [ranges] for convenience
     */
    internal fun mergeAdjacentDeltaMappedRanges(ranges: MutableList<MappedRange>): MutableList<MappedRange> {
      var i = 0
      while (i < ranges.size) {
        val curr = ranges[i]
        if (curr is MappedRange.InlineDelta) {
          val j = i + 1
    Registered: 2025-05-30 11:42
    - Last Modified: 2025-03-19 19:25
    - 8.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      //      after: { 11, 11, 22, 22, 33, 33, 00, 00, 00, 00, 00, 00, 77, 77, 88, 88 }
      //
      if (b != address.size) {
        if (compress == -1) return null // Address didn't have compression or enough groups.
        address.copyInto(address, address.size - (b - compress), compress, b)
        address.fill(0.toByte(), compress, compress + (address.size - b))
      }
    
      return address
    }
    
    Registered: 2025-05-30 11:42
    - Last Modified: 2025-03-19 19:25
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * @author shinsuke
     * @author Shunji Makino
     */
    public class EditForm {
    
        @ValidateTypeFailure
        public int crudMode;
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @Required
        @Size(max = 20)
        public String sessionId;
    
        @Size(max = 20)
        public String name;
    
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 1.4K bytes
    - Viewed (0)
  4. cmd/data-usage_test.go

    		{name: "rootfile", size: 10000},
    		{name: "rootfile2", size: 10000},
    		{name: "dir1/d1file", size: 2000},
    		{name: "dir2/d2file", size: 300},
    		{name: "dir2/d2file2", size: 300},
    		{name: "dir2/d2file3/", size: 300},
    		{name: "dir2/d2file4/", size: 300},
    		{name: "dir2/d2file5", size: 300},
    		{name: "dir1/dira/dafile", size: 100000},
    		{name: "dir1/dira/dbfile", size: 200000},
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-09 14:28
    - 14.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

          assertThat(expected.message).isEqualTo(
            "Payload size must be less than or equal to 125",
          )
        }
      }
    
      private fun assertData(hex: String) {
        assertData(hex.decodeHex())
      }
    
      private fun assertData(expected: ByteString) {
        val actual = data.readByteString(Math.min(expected.size.toLong(), data.size))
        assertThat(actual).isEqualTo(expected)
      }
    
      companion object {
    Registered: 2025-05-30 11:42
    - Last Modified: 2024-12-27 13:39
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            return byteCountToDisplaySize(BigInteger.valueOf(size));
        }
    
        private static String byteCountToDisplaySize(final BigInteger size) {
            Objects.requireNonNull(size, "size");
            final String displaySize;
    
            if (size.divide(ONE_EB_BI).compareTo(BigInteger.ZERO) > 0) {
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 4.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/BUILD

            "//tensorflow/core/platform:errors",
            "//tensorflow/core/platform:status",
            "@com_google_absl//absl/container:flat_hash_set",
        ],
    )
    
    tf_cuda_cc_test(
        name = "gradients_test",
        size = "small",
        srcs = [
            "gradients_test.cc",
        ],
        args = ["--heap_check="],
        tags = tf_cuda_tests_tags() + ["nomac"],
        deps = [
            ":abstract_context",
    Registered: 2025-05-27 12:39
    - Last Modified: 2025-04-14 23:08
    - 33.3K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    		t.Errorf("%v", err)
    		return
    	}
    
    	// For very large files, just check that the size is correct.
    	// The content is expected to be all zeros.
    	// Don't bother uncompressing: too big.
    	if ft.Content == nil && ft.File == "" && ft.Size > 0 {
    		if size != ft.Size {
    			t.Errorf("%v: uncompressed size %#x, want %#x", ft.Name, size, ft.Size)
    		}
    		r.Close()
    		return
    	}
    
    	var b bytes.Buffer
    Registered: 2025-05-27 11:13
    - Last Modified: 2025-03-11 22:19
    - 56.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/nio/ChannelUtil.java

                return channel.map(mode, 0, channel.size());
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Returns the size of the file.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @return The size of the file.
         */
        public static long size(final FileChannel channel) {
    Registered: 2025-05-24 08:58
    - Last Modified: 2025-05-10 01:32
    - 5.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
          size2 += entry2.getValue().size();
        }
        assertEquals(expectedSize, size2);
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-22 03:38
    - 3.8K bytes
    - Viewed (0)
Back to top