Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 126 for const2 (1.43 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    		val  string // constant value
    	}{
    		{`package a0; const _ = false`, `false`, `untyped bool`, `false`},
    		{`package a1; const _ = 0`, `0`, `untyped int`, `0`},
    		{`package a2; const _ = 'A'`, `'A'`, `untyped rune`, `65`},
    		{`package a3; const _ = 0.`, `0.`, `untyped float`, `0`},
    		{`package a4; const _ = 0i`, `0i`, `untyped complex`, `(0 + 0i)`},
    		{`package a5; const _ = "foo"`, `"foo"`, `untyped string`, `"foo"`},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir

    func.func @resource_after_cluster(%arg0: tensor<*x!tf_type.resource<tensor<f32>>>, %arg1: tensor<*x!tf_type.resource<tensor<f32>>>) {
      // CHECK-NEXT: [[CONST:%.*]] = "tf.Const"
      %0 = "tf.Const"() {value = dense<1.000000e+00> : tensor<f32>} : () -> tensor<f32>
    
      // CHECK-NEXT: "tf.AssignSubVariableOp"([[UNUSED_RESOURCE]], [[CONST]])
    
      // CHECK:      "tf_device.cluster"
      // CHECK-NEXT:   "tf.ReadVariableOp"([[USED_RESOURCE]])
      // CHECK-NEXT:   "tf.NoOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

    func.func @decomposition_outside_cluster() {
      %0 = "tf.VarHandleOp"() {container = "c", shared_name = "v"} : () -> tensor<*x!tf_type.resource<tensor<2x8xi32>>>
      // CHECK:      %[[ONE:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}>
      %1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      // CLUSTER-ONLY: "tf.AssignAddVariableOp"
      // ALWAYS-DECOMPOSE-NOT:  "tf.AssignAddVariableOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      return false;
    }
    
    // Returns true if any op in `cluster_ops` has outputs consumed by ops not
    // `cluster_ops` with a non-static shape.
    bool HasDynamicOutputs(const llvm::SmallSetVector<Operation*, 4>& cluster_ops) {
      for (Operation* op : cluster_ops) {
        for (const OpOperand& use : op->getUses()) {
          if (cluster_ops.count(use.getOwner())) {
            continue;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  5. src/crypto/tls/common.go

    // TLS Elliptic Curve Point Formats
    // https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-9
    const (
    	pointFormatUncompressed uint8 = 0
    )
    
    // TLS CertificateStatusType (RFC 3546)
    const (
    	statusTypeOCSP uint8 = 1
    )
    
    // Certificate types (for certificateRequestMsg)
    const (
    	certTypeRSASign   = 1
    	certTypeECDSASign = 64 // ECDSA or EdDSA keys, see RFC 8422, Section 3.
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  6. src/net/http/httputil/reverseproxy_test.go

    	"os"
    	"reflect"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    const fakeHopHeader = "X-Fake-Hop-Header-For-Test"
    
    func init() {
    	inOurTests = true
    	hopHeaders = append(hopHeaders, fakeHopHeader)
    }
    
    func TestReverseProxy(t *testing.T) {
    	const backendResponse = "I am the backend"
    	const backendStatus = 404
    	backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  7. src/syscall/zerrors_solaris_amd64.go

    // mkerrors.sh -m64
    // Code generated by the command above; DO NOT EDIT.
    
    // Created by cgo -godefs - DO NOT EDIT
    // cgo -godefs -- -m64 _const.go
    
    //go:build amd64 && solaris
    
    package syscall
    
    const (
    	AF_802                        = 0x12
    	AF_APPLETALK                  = 0x10
    	AF_CCITT                      = 0xa
    	AF_CHAOS                      = 0x5
    	AF_DATAKIT                    = 0x9
    	AF_DECnet                     = 0xc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    	//	void __cgo_f_xxx_2(void) { name *__cgo_undefined__2; }
    	//	#line xxx "not-int-const"
    	//	void __cgo_f_xxx_3(void) { enum { __cgo_undefined__3 = (name)*1 }; }
    	//	#line xxx "not-num-const"
    	//	void __cgo_f_xxx_4(void) { static const double __cgo_undefined__4 = (name); }
    	//	#line xxx "not-str-lit"
    	//	void __cgo_f_xxx_5(void) { static const char __cgo_undefined__5[] = (name); }
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ppc64/asm.go

    		// pld rX, x@got@tprel@pcrel
    		//
    		// to TLS_LE_TPREL32 by converting to:
    		// pla rX, x@tprel
    
    		const OP_MASK_PFX = 0xFFFFFFFF        // Discard prefix word
    		const OP_MASK = (0x3F << 26) | 0xFFFF // Preserve RT, RA
    		const OP_PFX = 1<<26 | 2<<24
    		const OP_PLA = 14 << 26
    		mask := packInstPair(target, OP_MASK_PFX, OP_MASK)
    		pla_op := packInstPair(target, OP_PFX, OP_PLA)
    		val &^= mask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    }
    
    // Field path constants that are specific to the internal API
    // representation.
    const (
    	ObjectNameField = "metadata.name"
    )
    
    // These are internal finalizer values for Kubernetes-like APIs, must be qualified name unless defined here
    const (
    	FinalizerOrphanDependents = "orphan"
    	FinalizerDeleteDependents = "foregroundDeletion"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (1)
Back to top