Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 160 for src1 (0.04 sec)

  1. src/hash/crc32/crc32_test.go

    	for _, length := range lengths {
    		p := make([]byte, length)
    		_, _ = rand.Read(p)
    		crcInit := uint32(rand.Int63())
    		crc1 := crcFunc1(crcInit, p)
    		crc2 := crcFunc2(crcInit, p)
    		if crc1 != crc2 {
    			t.Errorf("mismatch: 0x%x vs 0x%x (buffer length %d)", crc1, crc2, length)
    		}
    	}
    }
    
    // TestSimple tests the simple generic algorithm.
    func TestSimple(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/writebarrier.go

    				f.fe.Func().SetWBPos(pos)
    				nWBops--
    			case OpMoveWB:
    				dst := w.Args[0]
    				src := w.Args[1]
    				if isVolatile(src) {
    					for _, c := range volatiles {
    						if src == c.src {
    							src = c.tmp
    							break
    						}
    					}
    				}
    				typ := reflectdata.TypeLinksym(w.Aux.(*types.Type))
    				// moveWB(&typ, dst, src)
    				taddr := b.NewValue1A(pos, OpAddr, b.Func.Config.Types.Uintptr, typ, sb)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  3. src/hash/crc32/crc32_amd64.s

    	CRC32B (SI), AX
    
    done:
    	MOVL AX, ret+32(FP)
    	RET
    
    // castagnoliSSE42Triple updates three (non-inverted) crcs with (24*rounds)
    // bytes from each buffer.
    //
    // func castagnoliSSE42Triple(
    //     crc1, crc2, crc3 uint32,
    //     a, b, c []byte,
    //     rounds uint32,
    // ) (retA uint32, retB uint32, retC uint32)
    TEXT ·castagnoliSSE42Triple(SB),NOSPLIT,$0
    	MOVL crcA+0(FP), AX
    	MOVL crcB+4(FP), CX
    	MOVL crcC+8(FP), DX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 01 21:52:00 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  4. src/internal/gover/gover.go

    			// Allowing them would be a bit confusing because we already have:
    			//	1.21 < 1.21rc1
    			// But a prerelease of a patch would have the opposite effect:
    			//	1.21.3rc1 < 1.21.3
    			// We've never needed them before, so let's not start now.
    			return Version{}
    		}
    		return v
    	}
    
    	// Parse prerelease.
    	i := 0
    	for i < len(x) && (x[i] < '0' || '9' < x[i]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    	srce := p.Source.(*policySource[P, B, E])
    
    	return wait.PollUntilContextCancel(ctx, 100*time.Millisecond, true, func(ctx context.Context) (done bool, err error) {
    		switch objectGVK {
    		case p.policyGVK:
    			for _, hook := range p.Source.Hooks() {
    				accessor := srce.newPolicyAccessor(hook.Policy)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/builtins.go

    		dst, _ := coreType(x.typ).(*Slice)
    
    		y := args[1]
    		src0 := coreString(y.typ)
    		if src0 != nil && isString(src0) {
    			src0 = NewSlice(universeByte)
    		}
    		src, _ := src0.(*Slice)
    
    		if dst == nil || src == nil {
    			check.errorf(x, InvalidCopy, invalidArg+"copy expects slice arguments; found %s and %s", x, y)
    			return
    		}
    
    		if !Identical(dst.elem, src.elem) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go

    			// Allowing them would be a bit confusing because we already have:
    			//	1.21 < 1.21rc1
    			// But a prerelease of a patch would have the opposite effect:
    			//	1.21.3rc1 < 1.21.3
    			// We've never needed them before, so let's not start now.
    			return gover{}
    		}
    		return v
    	}
    
    	// Parse prerelease.
    	i := 0
    	for i < len(x) && (x[i] < '0' || '9' < x[i]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

        // CHECK: %[[mul2:.*]] = mhlo.multiply %arg2, %[[scr1]] : tensor<8xf32>
        // CHECK: %[[bcast_mul2:.+]] = "mhlo.dynamic_broadcast_in_dim"(%[[mul2]], {{.*}}) <{broadcast_dimensions = dense<3> : tensor<1xi64>}> : (tensor<8xf32>, tensor<4xindex>) -> tensor<8x8x8x8xf32>
        // CHECK: %[[mul3:.*]] = mhlo.multiply %[[grad]], %[[bcast_mul2]] : tensor<8x8x8x8xf32>
    
        // CHECK: %[[scale_backprop:.*]] = mhlo.multiply %[[scr1]], %[[scr2]] : tensor<8xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

        srcs.push_back(src_arg.first);
      }
      ReverseDFSFrom(
          graph, srcs, /*enter=*/nullptr,
          /*leave=*/[&guaranteed_const_nodes](const Node* n) {
            // TODO(vinuraja): Doesn't work in the presence of loops.
            if (AreAllParentsGuaranteedConst(*n, guaranteed_const_nodes)) {
              guaranteed_const_nodes.insert(n);
            }
          });
    
      for (auto& src_arg : src_arg_pairs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  10. pkg/kubelet/network/dns/dns_test.go

    	}
    	for i, tc := range testCases {
    		ns, srch, opts, err := parseResolvConf(strings.NewReader(tc.data))
    		if !tc.isErr {
    			require.NoError(t, err)
    			assert.EqualValues(t, tc.nameservers, ns, "test case [%d]: name servers", i)
    			assert.EqualValues(t, tc.searches, srch, "test case [%d] searches", i)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top