Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for src1 (0.04 sec)

  1. src/go/types/builtins_test.go

    	{"copy", `var src, dst []byte; copy(dst, src)`, `func([]byte, []byte) int`},
    	{"copy", `type T [][]int; var src, dst T; _ = copy(dst, src)`, `func(p.T, p.T) int`},
    	{"copy", `var src string; var dst []byte; copy(dst, src)`, `func([]byte, string) int`},
    	{"copy", `type T string; type U []byte; var src T; var dst U; copy(dst, src)`, `func(p.U, p.T) int`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/go/types/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.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

            return addToCollection(dest, false, src);
        }
    
        @Deprecated
        public static <V, T extends Collection<? super V>> T addToCollection(T dest, boolean failOnNull, Iterable<? extends V>... srcs) {
            for (Iterable<? extends V> src : srcs) {
                for (V v : src) {
                    if (failOnNull && v == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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. 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)
  10. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

      const CallGraph call_graph(module);
    
      // Visit functions bottom up when doing the analysis. Note that SCC iterator
      // has the property that if there is an edge from SCC1->SCC2, SCC1 is visited
      // after SCC2, i.e., the graph is traversed bottom up just the way we want.
      auto scc_begin = llvm::scc_begin(&call_graph);
      auto scc_end = llvm::scc_end(&call_graph);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top