Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for dataSize (0.07 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

      private void testThreshold(
          int fileThreshold, int dataSize, boolean singleByte, boolean resetOnFinalize)
          throws IOException {
        byte[] data = newPreFilledByteArray(dataSize);
        FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize);
        ByteSource source = out.asByteSource();
        int chunk1 = min(dataSize, fileThreshold);
        int chunk2 = dataSize - chunk1;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

          b0 = b0 or B0_FLAG_RSV1
        }
        val dataSize = messageBuffer.size
        sinkBuffer.writeByte(b0)
    
        var b1 = 0
        if (isClient) {
          b1 = b1 or B1_FLAG_MASK
        }
        when {
          dataSize <= PAYLOAD_BYTE_MAX -> {
            b1 = b1 or dataSize.toInt()
            sinkBuffer.writeByte(b1)
          }
          dataSize <= PAYLOAD_SHORT_MAX -> {
            b1 = b1 or PAYLOAD_SHORT
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

    /**
     * Some microbenchmarks for the {@link MoreObjects.ToStringHelper} class.
     *
     * @author Osvaldo Doederlein
     */
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

    /**
     * Some microbenchmarks for the {@link MoreObjects.ToStringHelper} class.
     *
     * @author Osvaldo Doederlein
     */
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. cmd/erasure-healing_test.go

    			t.Fatalf("Unexpected drive state (%d): %v", i+1, h.State)
    		}
    	}
    }
    
    func TestHealLastDataShard(t *testing.T) {
    	tests := []struct {
    		name     string
    		dataSize int64
    	}{
    		{"4KiB", 4 * humanize.KiByte},
    		{"64KiB", 64 * humanize.KiByte},
    		{"128KiB", 128 * humanize.KiByte},
    		{"1MiB", 1 * humanize.MiByte},
    		{"5MiB", 5 * humanize.MiByte},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  6. buildscripts/verify-build.sh

    export GOGC=25
    export ENABLE_ADMIN=1
    export MINIO_CI_CD=1
    
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR")
    
    FILE_1_MB="$MINT_DATA_DIR/datafile-1-MB"
    FILE_65_MB="$MINT_DATA_DIR/datafile-65-MB"
    
    FUNCTIONAL_TESTS="$WORK_DIR/functional-tests.sh"
    
    function start_minio_fs() {
    	export MINIO_ROOT_USER=$ACCESS_KEY
    	export MINIO_ROOT_PASSWORD=$SECRET_KEY
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    						filemap[file][verID+".json"] = buf.String()
    						for _, i := range ei.V2Obj.PartNums {
    							if len(ei.V2Obj.MetaSys.Inline) != 0 {
    								break
    							}
    							file := file
    							dataFile := fmt.Sprintf("%s%s/part.%d", strings.TrimSuffix(file, "xl.meta"), uuid.UUID(ei.V2Obj.DDir).String(), i)
    							if i > 1 {
    								file = fmt.Sprintf("%s/part.%d", file, i)
    								filemap[file] = make(map[string]string)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  8. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    builtwithdark.com
    
    // DataDetect, LLC. : https://datadetect.com
    // Submitted by Andrew Banchich <******@****.***>
    demo.datadetect.com
    instance.datadetect.com
    
    // Datawire, Inc : https://www.datawire.io
    // Submitted by Richard Li <secalert@datawire.io>
    edgestack.me
    
    // DDNS5 : https://ddns5.com
    // Submitted by Cameron Elliott <******@****.***>
    ddns5.com
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
Back to top