Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 297 for Builtin (0.12 sec)

  1. src/cmd/compile/internal/typecheck/mkbuiltin.go

    //go:build ignore
    
    // Generate builtin.go from builtin/runtime.go.
    
    package main
    
    import (
    	"bytes"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/token"
    	"io"
    	"log"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    )
    
    var stdout = flag.Bool("stdout", false, "write to stdout instead of builtin.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/builtin_test.go

    func TestBuiltin(t *testing.T) {
    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	old, err := os.ReadFile("builtin.go")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	new, err := testenv.Command(t, testenv.GoToolPath(t), "run", "mkbuiltin.go", "-stdout").Output()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if !bytes.Equal(old, new) {
    		t.Fatal("builtin.go out of date; run mkbuiltin.go")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 608 bytes
    - Viewed (0)
  3. internal/kms/secret-key.go

    }
    
    // Version returns the version of the builtin KMS.
    func (secretKey) Version(ctx context.Context) (string, error) { return "v1", nil }
    
    // APIs returns an error since the builtin KMS does not provide a list of APIs.
    func (secretKey) APIs(ctx context.Context) ([]madmin.KMSAPI, error) {
    	return nil, ErrNotSupported
    }
    
    // Status returns a set of endpoints and their KMS status. Since, the builtin KMS is not
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/callee.go

    import (
    	"go/ast"
    	"go/types"
    
    	"golang.org/x/tools/go/ast/astutil"
    	"golang.org/x/tools/internal/typeparams"
    )
    
    // Callee returns the named target of a function call, if any:
    // a function, method, builtin, or variable.
    //
    // Functions and methods may potentially have type parameters.
    func Callee(info *types.Info, call *ast.CallExpr) types.Object {
    	fun := astutil.Unparen(call.Fun)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. internal/kms/conn.go

    	MinKES                  // MinIO MinKES
    	Builtin                 // Builtin single key KMS implementation
    )
    
    // Type identifies the KMS type.
    type Type uint
    
    // String returns the Type's string representation
    func (t Type) String() string {
    	switch t {
    	case MinKMS:
    		return "MinIO KMS"
    	case MinKES:
    		return "MinIO KES"
    	case Builtin:
    		return "MinIO builtin"
    	default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/runtime/unsafe.go

    	}
    
    	if uintptr(len) > -uintptr(ptr) {
    		if ptr == nil {
    			panicunsafestringnilptr()
    		}
    		panicunsafestringlen()
    	}
    }
    
    // Keep this code in sync with cmd/compile/internal/walk/builtin.go:walkUnsafeString
    func unsafestring64(ptr unsafe.Pointer, len64 int64) {
    	len := int(len64)
    	if int64(len) != len64 {
    		panicunsafestringlen()
    	}
    	unsafestring(ptr, len)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/stablehlo_util.cc

      // It returns the default list of accepted dialects.
      std::vector<std::string> accepted_dialects({"stablehlo", "builtin", "func"});
      return accepted_dialects;
    }
    
    std::vector<std::string> GetAcceptedTFLiteDialects() {
      // It returns the default list of accepted dialects.
      std::vector<std::string> accepted_dialects({"tfl", "builtin", "func"});
      return accepted_dialects;
    }
    
    bool IsAcceptedDialect(llvm::StringRef dialect_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. releasenotes/notes/46339.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: telemetry
    issue: []
    
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 14:39:12 UTC 2023
    - 153 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_acl_windows.txt

    cmp $WORK\exe-acl.txt $WORK\src-acl.txt
    
    # The file written to the guest-allowed directory should give Guests control.
    grep 'BUILTIN\\Guests\s+Allow' $WORK\guest-acl.txt
    
    # The file written to the ordinary directory should not.
    ! grep 'BUILTIN\\Guests\s+Allow' $WORK\exe-acl.txt
    
    
    -- TestACL/go.mod --
    module TestACL
    -- TestACL/main.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir

    func.func @if_with_variants_in_branches() {
      // CHECK-NOT: Optional
      %0 = builtin.unrealized_conversion_cast to tensor<5xi1>
      %2 = "tf.If"(%0) <{else_branch = @false, is_stateless = false, then_branch = @true}>
          : (tensor<5xi1>) -> (tensor<!tf_type.variant<tensor<f32>>>)
      return
    }
    func.func private @false() -> tensor<!tf_type.variant<tensor<f32>>> {
      %0 = builtin.unrealized_conversion_cast to tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top