Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 148 for FUNC (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          body, outside of returns. Also adjusts the callers of said functions.
    
          For example, the code
            func.func @f(%arg0, %arg1) {
              SomeOpThatUsesArg0(%arg0)
              return %arg0
            }
            ...
            call @x_1(x, y)
    
          would be transformed into
            func.func @f(%arg0) {
              return %arg0
            }
            ...
            call @x_1(x)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    func rewriteValueLOONG64_OpCom32(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Com32 x)
    	// result: (NOR (MOVVconst [0]) x)
    	for {
    		x := v_0
    		v.reset(OpLOONG64NOR)
    		v0 := b.NewValue0(v.Pos, OpLOONG64MOVVconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(0)
    		v.AddArg2(v0, x)
    		return true
    	}
    }
    func rewriteValueLOONG64_OpCom64(v *Value) bool {
    	v_0 := v.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v0 := b.NewValue0(v.Pos, OpSignExt32to64, typ.Int64)
    		v0.AddArg(old)
    		v.AddArg4(ptr, v0, new, mem)
    		return true
    	}
    }
    func rewriteValueMIPS64_OpAtomicOr8(v *Value) bool {
    	v_2 := v.Args[2]
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	config := b.Func.Config
    	typ := &b.Func.Config.Types
    	// match: (AtomicOr8 ptr val mem)
    	// cond: !config.BigEndian
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	err         error
    
    	io.Reader
    	closed bool
    }
    
    func (s *SimpleStream) Close() error {
    	s.closed = true
    	return nil
    }
    
    func (s *SimpleStream) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind }
    func (s *SimpleStream) DeepCopyObject() runtime.Object {
    	panic("SimpleStream does not support DeepCopy")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  5. src/net/http/server.go

    var copyBufPool = sync.Pool{New: func() any { return new([copyBufPoolSize]byte) }}
    
    func getCopyBuf() []byte {
    	return copyBufPool.Get().(*[copyBufPoolSize]byte)[:]
    }
    func putCopyBuf(b []byte) {
    	if len(b) != copyBufPoolSize {
    		panic("trying to put back buffer of the wrong size in the copyBufPool")
    	}
    	copyBufPool.Put((*[copyBufPoolSize]byte)(b))
    }
    
    func bufioWriterPool(size int) *sync.Pool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	return loadKey(t, filepath, alg, func(b []byte) (interface{}, error) {
    		return x509.ParsePKCS1PrivateKey(b)
    	})
    }
    
    func loadECDSAKey(t *testing.T, filepath string, alg jose.SignatureAlgorithm) *jose.JSONWebKey {
    	return loadKey(t, filepath, alg, func(b []byte) (interface{}, error) {
    		key, err := x509.ParseECPrivateKey(b)
    		if err != nil {
    			return nil, err
    		}
    		return key.Public(), nil
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  7. pkg/scheduler/schedule_one_test.go

    }
    
    func (pl *falseMapPlugin) ScoreExtensions() framework.ScoreExtensions {
    	return nil
    }
    
    type numericMapPlugin struct{}
    
    func newNumericMapPlugin() frameworkruntime.PluginFactory {
    	return func(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) {
    		return &numericMapPlugin{}, nil
    	}
    }
    
    func (pl *numericMapPlugin) Name() string {
    	return "NumericMap"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	isDir   bool
    	sys     interface{}
    }
    
    func (f dummyFileInfo) Name() string       { return f.name }
    func (f dummyFileInfo) Size() int64        { return f.size }
    func (f dummyFileInfo) Mode() os.FileMode  { return f.mode }
    func (f dummyFileInfo) ModTime() time.Time { return f.modTime }
    func (f dummyFileInfo) IsDir() bool        { return f.isDir }
    func (f dummyFileInfo) Sys() interface{}   { return f.sys }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers.go

    func (list SortableResourceNames) Len() int {
    	return len(list)
    }
    
    func (list SortableResourceNames) Swap(i, j int) {
    	list[i], list[j] = list[j], list[i]
    }
    
    func (list SortableResourceNames) Less(i, j int) bool {
    	return list[i] < list[j]
    }
    
    func isRestartableInitContainer(initContainer *api.Container) bool {
    	if initContainer == nil {
    		return false
    	}
    	if initContainer.RestartPolicy == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top