Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 120 for chunkOf (0.13 sec)

  1. src/math/rand/rand_test.go

    }
    
    func checkSampleSliceDistributions(t *testing.T, samples []float64, nslices int, expected *statsResults) {
    	t.Helper()
    	chunk := len(samples) / nslices
    	for i := 0; i < nslices; i++ {
    		low := i * chunk
    		var high int
    		if i == nslices-1 {
    			high = len(samples) - 1
    		} else {
    			high = (i + 1) * chunk
    		}
    		checkSampleDistribution(t, samples[low:high], expected)
    	}
    }
    
    //
    // Normal distribution tests
    //
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. src/net/http/clientserver_test.go

    		w.(Flusher).Flush()
    		fmt.Fprintf(w, "I am a chunked response.")
    	}))
    
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatalf("Get error: %v", err)
    	}
    	defer res.Body.Close()
    	if g, e := res.ContentLength, int64(-1); g != e {
    		t.Errorf("expected ContentLength of %d; got %d", e, g)
    	}
    	wantTE := []string{"chunked"}
    	if mode == http2Mode {
    		wantTE = nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  3. src/math/rand/v2/rand_test.go

    }
    
    func checkSampleSliceDistributions(t *testing.T, samples []float64, nslices int, expected *statsResults) {
    	t.Helper()
    	chunk := len(samples) / nslices
    	for i := 0; i < nslices; i++ {
    		low := i * chunk
    		var high int
    		if i == nslices-1 {
    			high = len(samples) - 1
    		} else {
    			high = (i + 1) * chunk
    		}
    		checkSampleDistribution(t, samples[low:high], expected)
    	}
    }
    
    //
    // Normal distribution tests
    //
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. src/encoding/base64/base64.go

    		p = p[i:]
    		if e.nbuf < 3 {
    			return
    		}
    		e.enc.Encode(e.out[:], e.buf[:])
    		if _, e.err = e.w.Write(e.out[:4]); e.err != nil {
    			return n, e.err
    		}
    		e.nbuf = 0
    	}
    
    	// Large interior chunks.
    	for len(p) >= 3 {
    		nn := len(e.out) / 4 * 3
    		if nn > len(p) {
    			nn = len(p)
    			nn -= nn % 3
    		}
    		e.enc.Encode(e.out[:], p[:nn])
    		if _, e.err = e.w.Write(e.out[0 : nn/3*4]); e.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/script/engine.go

    	cmd = &command{file: filename, line: lineno}
    	var (
    		rawArg []argFragment // text fragments of current arg so far (need to add line[start:i])
    		start  = -1          // if >= 0, position where current arg text chunk starts
    		quoted = false       // currently processing quoted text
    	)
    
    	flushArg := func() error {
    		if len(rawArg) == 0 {
    			return nil // Nothing to flush.
    		}
    		defer func() { rawArg = nil }()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  6. hack/lib/test.sh

          caller
          echo "${reset}"
          return 1
        fi
      done
    
      # shellcheck disable=SC2086
      # Disabling to allow for expansion here
      # Try a non-default chunk size
      customResult=$(kubectl describe ${resource} --show-events=false --chunk-size=10 -v=6 ${args} "${kube_flags[@]}" 2>&1 >/dev/null)
      if grep -q "${resource}?limit=10" <<< "${customResult}"; then
        echo "query for ${resource} had user-specified limit param"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 16:46:34 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  7. docs/bigdata/README.md

    fs.s3a.fast.upload.buffer=disk # Use disk as the buffer for uploads
    fs.s3a.fast.upload=true # Turn on fast upload mode
    fs.s3a.max.total.tasks=2048 # Maximum number of parallel tasks
    fs.s3a.multipart.size=512M # Size of each multipart chunk
    fs.s3a.multipart.threshold=512M # Size before using multipart uploads
    fs.s3a.socket.recv.buffer=65536 # Read socket buffer hint
    fs.s3a.socket.send.buffer=65536 # Write socket buffer hint
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  8. maven-core/src/test/resources-project-builder/xml-coalesce-text/pom.xml

        -->
        <prop1><!-- X -->That's<!-- X --> <!-- X -->a<!-- X --> <!-- X -->test!<!-- X --></prop1>
    
        <!--
        This checks the coalescing of CHARACTERS events which would otherwise be reported in chunks of the internal parser
        buffer size (usually 4 or 8 KB). The text block is designed such that its length is exactly 32 KB after leading
        and trailing whitespace has been removed and all line terminators have been removed.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 29 19:02:56 UTC 2020
    - 34.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr3_multi_project_builds.adoc

    - Extract your build logic from your project build (and re-use it among subprojects)
    - Combine builds that are usually developed independently (such as a plugin and an application)
    - Decompose a large build into smaller, more isolated chunks
    
    == Step 4. Add build to the Build
    
    Let's add a plugin to our build.
    First, create a new directory called `license-plugin` in the `gradle` directory:
    
    [source]
    ----
    cd gradle
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

    // definition. `Operations` are partitioned into classes from the cartesian
    // product of possible devices and inference datatypes. For example, we might
    // raise a chunk of sequential operations from a block all having attributes
    // `{ tac.device = "GPU", tac.inference_type = "FLOAT"}` to a function
    // with the matching attributes. Assumed is that device type "CPU"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top