Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for srcPos (0.36 sec)

  1. src/compress/flate/dict_decoder.go

    	// Thus, a backwards copy is performed here; that is, the exact bytes in
    	// the source prior to the copy is placed in the destination.
    	if srcPos < 0 {
    		srcPos += len(dd.hist)
    		dstPos += copy(dd.hist[dstPos:endPos], dd.hist[srcPos:])
    		srcPos = 0
    	}
    
    	// Copy possibly overlapping section before destination position.
    	//
    	// This section can overlap if the copy length for this section is larger
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6K bytes
    - Viewed (0)
  2. src/text/scanner/scanner.go

    func (s *Scanner) next() rune {
    	ch, width := rune(s.srcBuf[s.srcPos]), 1
    
    	if ch >= utf8.RuneSelf {
    		// uncommon case: not ASCII or not enough bytes
    		for s.srcPos+utf8.UTFMax > s.srcEnd && !utf8.FullRune(s.srcBuf[s.srcPos:s.srcEnd]) {
    			// not enough bytes: read some more, but first
    			// save away token text if any
    			if s.tokPos >= 0 {
    				s.tokBuf.Write(s.srcBuf[s.tokPos:s.srcPos])
    				s.tokPos = 0
    				// s.tokEnd is set by Scan()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/pgo_inl_test.go

    	// Check that a hash match allows PGO inlining.
    	const srcPos = "example.com/pgo/inline/inline_hot.go:81:19"
    	const hashMatch = "pgohash triggered " + srcPos + " (inline)"
    	pgoDebugRE := regexp.MustCompile(`hot-budget check allows inlining for call .* at ` + strings.ReplaceAll(srcPos, ".", "\\."))
    	hash := "v1" // 1 matches srcPos, v for verbose (print source location)
    	gcflag := gcflag0 + ",pgohash=" + hash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

        byte[] targetCopyArray = new byte[numBytes];
    
        int srcPos = Math.max(0, addressBytes.length - numBytes);
        int copyLength = addressBytes.length - srcPos;
        int destPos = numBytes - copyLength;
    
        // Check the extra bytes in the BigInteger are all zero.
        for (int i = 0; i < srcPos; i++) {
          if (addressBytes[i] != 0x00) {
            throw formatIllegalArgumentException(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

        byte[] targetCopyArray = new byte[numBytes];
    
        int srcPos = Math.max(0, addressBytes.length - numBytes);
        int copyLength = addressBytes.length - srcPos;
        int destPos = numBytes - copyLength;
    
        // Check the extra bytes in the BigInteger are all zero.
        for (int i = 0; i < srcPos; i++) {
          if (addressBytes[i] != 0x00) {
            throw formatIllegalArgumentException(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. docs/debugging/s3-verify/main.go

    	srcCtnt, srcOk := nextObject(srcCh)
    	tgtCtnt, tgtOk := nextObject(tgtCh)
    
    	var srcEOF, tgtEOF bool
    
    	srcSha256 := sha256.New()
    	tgtSha256 := sha256.New()
    
    	for {
    		srcSha256.Reset()
    		tgtSha256.Reset()
    
    		srcEOF = !srcOk
    		tgtEOF = !tgtOk
    
    		// No objects from source AND target: Finish
    		if srcEOF && tgtEOF {
    			break
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

           $multiply_linear_by_lr,
           (Clamp $src_op,
             (TF_NegOp (TF_MulOp $l1, $lr)),
             (CreateTFReadVariableOp $src_op, $l1, $linear),
             (TF_MulOp $l1, $lr)
           ),
           (Clamp $src_op,
             (TF_NegOp $l1),
             (CreateTFReadVariableOp $src_op, $l1, $linear),
             $l1
           )
         ),
         (CreateTFReadVariableOp $src_op, $l1, $linear)
       ),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. tests/integration/pilot/original_src_addr_test.go

    			if err != nil {
    				t.Errorf("failed to get Subsets: %v", err)
    				return
    			}
    			// check the server can see the client's original ip
    			var srcIps []string
    			for _, w := range workloads {
    				srcIps = append(srcIps, w.Address())
    			}
    			checkOriginalSrcIP(t, apps.A[0], apps.Tproxy[0], srcIps)
    		})
    }
    
    func checkOriginalSrcIP(t framework.TestContext, from echo.Caller, to echo.Target, expected []string) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. manifests/addons/dashboards/istio-service-dashboard.json

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 111.8K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    		{
    			srcVol:      "success-vol",
    			srcPath:     "path/2/success-file",
    			expectedErr: errPathNotFound,
    		},
    		// TestXLStorage case - 5.
    		// TestXLStorage case with path being a directory.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "path",
    			expectedErr: errPathNotFound,
    		},
    		// TestXLStorage case - 6.
    		// TestXLStorage case with non existent volume.
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top