Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for makeArg (0.2 sec)

  1. src/reflect/export_test.go

    // license that can be found in the LICENSE file.
    
    package reflect
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"sync"
    	"unsafe"
    )
    
    // MakeRO returns a copy of v with the read-only flag set.
    func MakeRO(v Value) Value {
    	v.flag |= flagStickyRO
    	return v
    }
    
    // IsRO reports whether v's read-only flag is set.
    func IsRO(v Value) bool {
    	return v.flag&flagStickyRO != 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. tools/docker-builder/main.go

    		return nil
    	}
    	log.Infof("Running make for %v: %v", arch, strings.Join(shortArgs, " "))
    	env := StandardEnv(args)
    	env = append(env, archToGoFlags(arch)...)
    	makeArgs := []string{"--no-print-directory"}
    	makeArgs = append(makeArgs, c...)
    	cmd := exec.Command("make", makeArgs...)
    	log.Infof("env: %v", archToGoFlags(arch))
    	cmd.Env = env
    	cmd.Stderr = os.Stderr
    	cmd.Stdout = os.Stdout
    	cmd.Dir = testenv.IstioSrc
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. src/go/types/issues_test.go

    }
    
    func TestIssue55030(t *testing.T) {
    	// makeSig makes the signature func(typ...)
    	makeSig := func(typ Type) {
    		par := NewVar(nopos, nil, "", typ)
    		params := NewTuple(par)
    		NewSignatureType(nil, nil, nil, params, nil, true)
    	}
    
    	// makeSig must not panic for the following (example) types:
    	// []int
    	makeSig(NewSlice(Typ[Int]))
    
    	// string
    	makeSig(Typ[String])
    
    	// P where P's core type is string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. pkg/kube/kclient/clienttest/crd.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    	metadatafake "k8s.io/client-go/metadata/fake"
    
    	"istio.io/istio/pkg/config/schema/gvr"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test"
    )
    
    func MakeCRD(t test.Failer, c kube.Client, g schema.GroupVersionResource) {
    	t.Helper()
    	MakeCRDWithAnnotations(t, c, g, nil)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/g3doc/dialects.md

    declaration nodes) in the future.
    
    If you want to connect a new low-level compiler, you would create a new dialect
    and the lowerings between the TensorFlow Graph dialect and your dialect.
    This smooths the path for hardware and compiler makers. You can even target
    dialects at different levels in the same model; the higher-level optimizers
    will respect the unfamiliar parts of the IR and wait for a lower level to handle
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 21 01:37:38 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/issues_test.go

    }
    
    func TestIssue55030(t *testing.T) {
    	// makeSig makes the signature func(typ...)
    	makeSig := func(typ Type) {
    		par := NewVar(nopos, nil, "", typ)
    		params := NewTuple(par)
    		NewSignatureType(nil, nil, nil, params, nil, true)
    	}
    
    	// makeSig must not panic for the following (example) types:
    	// []int
    	makeSig(NewSlice(Typ[Int]))
    
    	// string
    	makeSig(Typ[String])
    
    	// P where P's core type is string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/g3doc/overview.md

    We expect MLIR to be of interest to many groups, including:
    
    *   Compiler researchers and implementers looking to optimize performance and
        memory consumption of machine learning models
    *   Hardware makers looking for a way to connect their hardware to TensorFlow,
        such as TPUs, portable neural hardware in phones, and other custom ASICs
    *   People writing language bindings that want to take advantage of optimizing
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 21 01:37:38 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/fake.go

    			assert.NoError(t, queue.WaitForClose(c.queue, time.Second*5))
    		})
    	}
    	c.stop = stop
    	if cleanupStop {
    		t.Cleanup(func() {
    			close(stop)
    		})
    	}
    	for _, crd := range opts.CRDs {
    		clienttest.MakeCRD(t, c.client, crd)
    	}
    	opts.Client.RunAndWait(c.stop)
    	var fx *xdsfake.Updater
    	if x, ok := xdsUpdater.(*xdsfake.Updater); ok {
    		fx = x
    	}
    
    	if !opts.SkipRun {
    		go c.Run(c.stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/api_test.go

    	conf := Config{Importer: imports}
    	makePkg := func(src string) {
    		f := mustParse(src)
    		name := f.PkgName.Value
    		pkg, err := conf.Check(name, []*syntax.File{f}, nil)
    		if err != nil {
    			t.Fatal(err)
    		}
    		imports[name] = pkg
    	}
    	makePkg(`package lib; type T[P any] struct{}`)
    	makePkg(`package a; import "lib"; var A lib.T[int]`)
    	makePkg(`package b; import "lib"; var B lib.T[int]`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    			return fmt.Errorf("error setting config field %s: %v", f.name, err)
    		}
    	}
    	return nil
    }
    
    // makeURL returns a URL based on initialURL that contains the config contents
    // as parameters.  The second result is true iff a parameter value was changed.
    func (cfg *config) makeURL(initialURL url.URL) (url.URL, bool) {
    	q := initialURL.Query()
    	changed := false
    	for _, f := range configFields {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top