Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,967 for FUNC (0.04 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_weight_param.mlir

      return %0 : tensor<2x3x2x2xf32>
    }
    
    // CHECK-LABEL: func.func @no_qdq_except_conv_and_dot_general
    // CHECK-NOT: quantfork.qcast
    // CHECK-NOT: quantfork.dcast
    
    // -----
    
    // Test that q/dq pair is not inserted for constant whose operand number is
    // not 1.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. src/net/unixsock_posix.go

    func (l *UnixListener) SetUnlinkOnClose(unlink bool) {
    	l.unlink = unlink
    }
    
    func (sl *sysListener) listenUnix(ctx context.Context, laddr *UnixAddr) (*UnixListener, error) {
    	var ctrlCtxFn func(ctx context.Context, network, address string, c syscall.RawConn) error
    	if sl.ListenConfig.Control != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. internal/grid/grid_test.go

    	}
    	// local to remote, unbuffered
    	t.Run("unbuffered", func(t *testing.T) {
    		testHandler(t, handlerTest, false)
    	})
    	t.Run("buffered", func(t *testing.T) {
    		testHandler(t, handlerTest2, false)
    	})
    	t.Run("buffered", func(t *testing.T) {
    		testHandler(t, handlerTest2, true)
    	})
    }
    
    // testStreamDeadline will test if server
    func testStreamDeadline(t *testing.T, local, remote *Manager) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. pkg/probe/exec/exec_test.go

    func (f *FakeCmd) SetStderr(out io.Writer) {
    	f.writer = out
    }
    
    func (f *FakeCmd) SetEnv(env []string) {}
    
    func (f *FakeCmd) Stop() {}
    
    func (f *FakeCmd) Start() error {
    	if f.writer != nil {
    		f.writer.Write(f.out)
    		return f.err
    	}
    	return f.err
    }
    
    func (f *FakeCmd) Wait() error { return nil }
    
    func (f *FakeCmd) StdoutPipe() (io.ReadCloser, error) {
    	return nil, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation_resourceclaim_test.go

    				claim := testClaim(goodName, goodNS, goodClaimSpec)
    				claim.CreationTimestamp = now
    				return claim
    			}(),
    		},
    		"deletion-grace-period-seconds": {
    			claim: func() *resource.ResourceClaim {
    				claim := testClaim(goodName, goodNS, goodClaimSpec)
    				claim.DeletionGracePeriodSeconds = pointer.Int64(10)
    				return claim
    			}(),
    		},
    		"owner-references": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. pkg/volume/hostpath/host_path.go

    // Tests that exercise recycling should not use this func but instead use ProbeRecyclablePlugins() to override default behavior.
    func ProbeVolumePlugins(volumeConfig volume.VolumeConfig) []volume.VolumePlugin {
    	return []volume.VolumePlugin{
    		&hostPathPlugin{
    			host:   nil,
    			config: volumeConfig,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. pkg/volume/testing/testing.go

    type FakeFileVolumePlugin struct {
    }
    
    func (plugin *FakeFileVolumePlugin) Init(host volume.VolumeHost) error {
    	return nil
    }
    
    func (plugin *FakeFileVolumePlugin) GetPluginName() string {
    	return "fake-file-plugin"
    }
    
    func (plugin *FakeFileVolumePlugin) GetVolumeName(spec *volume.Spec) (string, error) {
    	return "", nil
    }
    
    func (plugin *FakeFileVolumePlugin) CanSupport(spec *volume.Spec) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. pkg/kube/krt/static.go

    }
    
    func (s *staticList[T]) List() []T {
    	return maps.Values(s.vals)
    }
    
    func (s *staticList[T]) Register(f func(o Event[T])) Syncer {
    	return registerHandlerAsBatched(s, f)
    }
    
    func (s *staticList[T]) Synced() Syncer {
    	return alwaysSynced{}
    }
    
    func (s *staticList[T]) RegisterBatch(f func(o []Event[T], initialSync bool), runExistingState bool) Syncer {
    	if runExistingState {
    		f(slices.Map(s.List(), func(e T) Event[T] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/reflect/iter.go

    			break
    		}
    		return func(yield func(Value) bool) {
    			v = v.Elem()
    			for i := range v.Len() {
    				if !yield(ValueOf(i)) {
    					return
    				}
    			}
    		}
    	case Array, Slice:
    		return func(yield func(Value) bool) {
    			for i := range v.Len() {
    				if !yield(ValueOf(i)) {
    					return
    				}
    			}
    		}
    	case String:
    		return func(yield func(Value) bool) {
    			for i := range v.String() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	newListFunc    func() runtime.Object
    	prefix         string
    	resourcePrefix string
    	groupResource  schema.GroupResource
    	transformer    value.Transformer
    	leaseConfig    LeaseManagerConfig
    
    	recorderEnabled bool
    }
    
    type setupOption func(*setupOptions)
    
    func withClientConfig(config *embed.Config) setupOption {
    	return func(options *setupOptions) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top