Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for c1k1 (0.11 sec)

  1. src/context/x_test.go

    	c0 := Background()
    	check(c0, "c0", "", "", "")
    
    	c1 := WithValue(Background(), k1, "c1k1")
    	check(c1, "c1", "c1k1", "", "")
    
    	if got, want := fmt.Sprint(c1), `context.Background.WithValue(context_test.key1, c1k1)`; got != want {
    		t.Errorf("c.String() = %q want %q", got, want)
    	}
    
    	c2 := WithValue(c1, k2, "c2k2")
    	check(c2, "c2", "c1k1", "c2k2", "")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. test/codegen/comparisons.go

    	}
    	// arm64:`CMN`,-`CMP`
    	if a*c+b != 0 {
    		c9 = 1
    	}
    	// arm64:`CMP`,-`CMN`
    	if b*c-a == 0 {
    		c10 = 1
    	}
    	// arm64:`CMP`,-`CMN`
    	if a*d-b != 0 {
    		c11 = 1
    	}
    	return c1 + c2 + c3 + c4 + c5 + c6 + c7 + c8 + c9 + c10 + c11
    }
    
    func cmpToCmnLessThan(a, b, c, d int) int {
    	var c1, c2, c3, c4 int
    	// arm64:`CMN`,`CSET\tMI`,-`CMP`
    	if a+1 < 0 {
    		c1 = 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. src/runtime/crash_cgo_test.go

    	}
    	if runtime.GOOS == "windows" {
    		t.Skipf("skipping: test requires pthread support")
    		// TODO: Can this test be rewritten to use the C11 thread API instead?
    	}
    
    	testenv.MustHaveGoRun(t)
    
    	// This test requires building various packages with -race, so
    	// it's somewhat slow.
    	if testing.Short() {
    		t.Skip("skipping test in -short mode")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. tensorflow/c/BUILD

            "//tensorflow/core:session_options",
            "//tensorflow/core:test",
        ],
    )
    
    tf_cc_test(
        name = "c_test",
        srcs = ["c_test.c"],
        extra_copts = ["-std=c11"],
        deps = [
            ":c_api",
            ":c_api_experimental",
            ":env",
            ":kernels",
        ],
    )
    
    tf_cuda_cc_test(
        name = "c_api_test",
        size = "medium",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. src/runtime/race.go

    // sections of code).
    // RaceAcquire establishes a happens-before relation with the preceding
    // RaceReleaseMerge on addr up to and including the last RaceRelease on addr.
    // In terms of the C memory model (C11 §5.1.2.4, §7.17.3),
    // RaceAcquire is equivalent to atomic_load(memory_order_acquire).
    //
    //go:nosplit
    func RaceAcquire(addr unsafe.Pointer) {
    	raceacquire(addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK: %[[SHAPE0:.*]] = shape.shape_of %arg0 : tensor<?x?xf16> -> tensor<2xindex>
      // CHECK-DAG: %[[C1_1:.*]] = arith.constant 1 : index
      // CHECK-DAG: %[[C1_2:.*]] = arith.constant 1 : index
      // CHECK: %[[REDUCED_DIM:.*]] = tensor.extract %[[SHAPE0]][%[[C1_2]]] : tensor<2xindex>
      // CHECK: %[[MUL:.*]] = arith.muli %[[C1_1]], %[[REDUCED_DIM]] : index
      // CHECK: %[[INDEX_CAST:.*]] = arith.index_cast %[[MUL]] : index to i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    				used[goid] = true
    				ident[cid] = goid
    			}
    		}
    	}
    
    	anon := 0
    	for _, f := range dt.Field {
    		name := f.Name
    		ft := f.Type
    
    		// In godefs mode, if this field is a C11
    		// anonymous union then treat the first field in the
    		// union as the field in the struct. This handles
    		// cases like the glibc <sys/resource.h> file; see
    		// issue 6677.
    		if *godefs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top