Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for chunkOf (0.34 sec)

  1. src/go/build/build.go

    	srcdir = filepath.ToSlash(srcdir)
    
    	chunks := strings.Split(str, "${SRCDIR}")
    	if len(chunks) < 2 {
    		return str, safeCgoName(str)
    	}
    	ok := true
    	for _, chunk := range chunks {
    		ok = ok && (chunk == "" || safeCgoName(chunk))
    	}
    	ok = ok && (srcdir == "" || safeCgoName(srcdir))
    	res := strings.Join(chunks, srcdir)
    	return res, ok && res != ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  2. samples/addons/loki.yaml

        
        auth_enabled: false
        common:
          compactor_address: 'http://loki:3100'
          path_prefix: /var/loki
          replication_factor: 1
          storage:
            filesystem:
              chunks_directory: /var/loki/chunks
              rules_directory: /var/loki/rules
        frontend:
          scheduler_address: ""
          tail_proxy_url: http://loki-querier.istio-system.svc.cluster.local:3100
        frontend_worker:
          scheduler_address: ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/runtime/mheap.go

    		ha := h.arenas[ai.l1()][ai.l2()]
    
    		// Get a chunk of the bitmap to work on.
    		arenaPage := uint(pageIdx % pagesPerArena)
    		inUse := ha.pageInUse[arenaPage/8:]
    		marked := ha.pageMarks[arenaPage/8:]
    		if uintptr(len(inUse)) > n/8 {
    			inUse = inUse[:n/8]
    			marked = marked[:n/8]
    		}
    
    		// Scan this bitmap chunk for spans that are in-use
    		// but have no marked objects on them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  4. 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)
  5. cmd/bitrot-streaming.go

    	"context"
    	"hash"
    	"io"
    	"sync"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/ringbuffer"
    )
    
    // Calculates bitrot in chunks and writes the hash into the stream.
    type streamingBitrotWriter struct {
    	iow          io.WriteCloser
    	closeWithErr func(err error)
    	h            hash.Hash
    	shardSize    int64
    	canClose     *sync.WaitGroup
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			shouldPass:         false,
    			fault:              malformedEncoding,
    		},
    		// Test case - 8
    		// Chunk with shorter than advertised chunk data.
    		{
    			bucketName:         bucketName,
    			objectName:         objectName,
    			data:               oneKData,
    			dataLen:            1024,
    			chunkSize:          1024,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. cluster/gce/windows/k8s-node-setup.psm1

      buffer_queue_full_action block
      # Set the chunk limit conservatively to avoid exceeding the recommended
      # chunk size of 5MB per write request.
      buffer_chunk_limit 512k
      # Cap the combined memory usage of this buffer and the one below to
      # 512KiB/chunk * (6 + 2) chunks = 4 MiB
      buffer_queue_limit 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  10. src/net/http/request.go

    	// Deprecated: ErrUnexpectedTrailer is no longer returned by
    	// anything in the net/http package. Callers should not
    	// compare errors against this variable.
    	ErrUnexpectedTrailer = &ProtocolError{"trailer header without chunked transfer encoding"}
    
    	// ErrMissingBoundary is returned by Request.MultipartReader when the
    	// request's Content-Type does not include a "boundary" parameter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top