Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,268 for guarantee (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/guarantee-all-funcs-one-use.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-guarantee-all-funcs-one-use | FileCheck %s
    
    // -----
    // Basic test.
    // CHECK-LABEL: func @f
    func.func @f() {
      // CHECK: call @g() : () -> ()
      // CHECK: call @[[NEWG:.+]]() : () -> ()
      func.call @g() : () -> ()
      func.call @g() : () -> ()
      func.return
    }
    
    // CHECK: func @g()
    // CHECK: func private @[[NEWG]]()
    func.func @g() {
      func.return
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/lif/binary.go

    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func (binaryLittleEndian) PutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func (binaryLittleEndian) Uint32(b []byte) uint32 {
    	_ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/route/binary.go

    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func (binaryLittleEndian) PutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func (binaryLittleEndian) Uint32(b []byte) uint32 {
    	_ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. src/internal/byteorder/byteorder.go

    func LeUint16(b []byte) uint16 {
    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func LePutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func LeAppendUint16(b []byte, v uint16) []byte {
    	return append(b,
    		byte(v),
    		byte(v>>8),
    	)
    }
    
    func LeUint32(b []byte) uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 20:31:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/internal/unsafeheader/unsafeheader.go

    )
    
    // Slice is the runtime representation of a slice.
    // It cannot be used safely or portably and its representation may
    // change in a later release.
    //
    // Unlike reflect.SliceHeader, its Data field is sufficient to guarantee the
    // data it references will not be garbage collected.
    type Slice struct {
    	Data unsafe.Pointer
    	Len  int
    	Cap  int
    }
    
    // String is the runtime representation of a string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 16:14:17 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/context.go

    // this was not an explicit design goal of the context type. In fact, due to
    // concurrent use it is convenient not to guarantee de-duplication.
    //
    // Nevertheless, in the future it could be helpful to allow users to leverage
    // contexts to canonicalize instances, and it would probably be possible to
    // achieve such a guarantee.
    
    // A Context is an opaque type checking context. It may be used to share
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/encoding/gob/gobencdec_test.go

    }
    
    // Structs that include GobEncodable fields.
    
    type GobTest0 struct {
    	X int // guarantee we have  something in common with GobTest*
    	G *ByteStruct
    }
    
    type GobTest1 struct {
    	X int // guarantee we have  something in common with GobTest*
    	G *StringStruct
    }
    
    type GobTest2 struct {
    	X int    // guarantee we have  something in common with GobTest*
    	G string // not a GobEncoder - should give us errors
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/schema/schema_utils.cc

    BuiltinOperator GetBuiltinCode(const OperatorCode* op_code) {
      // Caller should guarantee that the given argument value is not a nullptr.
      TFLITE_DCHECK(op_code != nullptr);
    
      return std::max(
          op_code->builtin_code(),
          static_cast<BuiltinOperator>(op_code->deprecated_builtin_code()));
    }
    
    BuiltinOperator GetBuiltinCode(const OperatorCodeT* op_code) {
      // Caller should guarantee that the given argument value is not a nullptr.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/InsecureRecursiveDeleteException.java

    import java.nio.file.SecureDirectoryStream;
    import javax.annotation.CheckForNull;
    
    /**
     * Exception indicating that a recursive delete can't be performed because the file system does not
     * have the support necessary to guarantee that it is not vulnerable to race conditions that would
     * allow it to delete files and directories outside of the directory being deleted (i.e., {@link
     * SecureDirectoryStream} is not supported).
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/go/types/context.go

    // this was not an explicit design goal of the context type. In fact, due to
    // concurrent use it is convenient not to guarantee de-duplication.
    //
    // Nevertheless, in the future it could be helpful to allow users to leverage
    // contexts to canonicalize instances, and it would probably be possible to
    // achieve such a guarantee.
    
    // A Context is an opaque type checking context. It may be used to share
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top