Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 100 for chunkOf (0.19 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. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.cc

        return convert(attr);
      }
      return nullptr;
    }
    
    DenseElementsAttr UniformQuantizedPerAxisValueConverter::convert(
        DenseFPElementsAttr attr) {
      // Creates the converter for each chunk. Normally the size of the
      // quantization dim is 3, so we can cache all the converters.
      ShapedType type = attr.getType();
      std::size_t dim_size = type.getDimSize(quantization_dim_);
      if (dim_size != scales_.size()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/hash/crc32/crc32_ppc64le.s

    	BNE     start
    	MOVW    R3,ret+40(FP)   // return crc
    	RET
    
    start:
    	NOR     R3,R3,R7        // ^crc
    	MOVWZ	R7,R7		// 32 bits
    	CMP	R6,$16
    	MOVD	R6,CTR
    	BLT	short
    	SRAD    $3,R6,R8        // 8 byte chunks
    	MOVD    R8,CTR
    
    loop:
    	MOVWZ	0(R5),R8	// 0-3 bytes of p ?Endian?
    	MOVWZ	4(R5),R9	// 4-7 bytes of p
    	MOVD	R4,R10		// &tab[0]
    	XOR	R7,R8,R7	// crc ^= byte[0:3]
    	RLDICL	$40,R9,$56,R17	// p[7]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top