Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 397 for afunc (0.04 sec)

  1. pkg/scheduler/testing/wrappers.go

    // MakePod creates a Pod wrapper.
    func MakePod() *PodWrapper {
    	return &PodWrapper{v1.Pod{}}
    }
    
    // Obj returns the inner Pod.
    func (p *PodWrapper) Obj() *v1.Pod {
    	return &p.Pod
    }
    
    // Name sets `s` as the name of the inner pod.
    func (p *PodWrapper) Name(s string) *PodWrapper {
    	p.SetName(s)
    	return p
    }
    
    // UID sets `s` as the UID of the inner pod.
    func (p *PodWrapper) UID(s string) *PodWrapper {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-annotations.test

    	pc=4544740 func=44 file=42 line=868
    	pc=4538792 func=45 file=42 line=258
    	pc=4814277 func=37 file=36 line=125
    	pc=4815228 func=38 file=31 line=27
    Stack id=22 nframes=3
    	pc=4642148 func=46 file=47 line=81
    	pc=4816326 func=48 file=47 line=87
    	pc=4815941 func=34 file=31 line=50
    Stack id=11 nframes=1
    	pc=4815364 func=38 file=31 line=34
    Stack id=5 nframes=4
    	pc=4547349 func=49 file=50 line=42
    	pc=4538780 func=45 file=42 line=257
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/ifrt/sink_variable_as_named_array.mlir

    // -----
    //  Resources that are created in the same module are not sinked.
    //
    // CHECK-LABEL:  func.func @serving_default
    // CHECK-NOT:  IfrtLoadVariable
    // CHECK:      "tf.VarHandleOp"
    // CHECK-NEXT: "tf.AssignVariableOp"
    // CHECK-NEXT: "tf.ReadVariableOp"
    // CHECK-NEXT: "tf.StatefulPartitionedCall"
    // CHECK-NEXT:  return 
    //
    module {
      func.func @serving_default() -> tensor<*xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 15:33:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. pkg/util/coverage/fake_test_deps.go

    func (fakeTestDeps) ResetCoverage() {}
    
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    func (fakeTestDeps) SnapshotCoverage() {}
    
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    func (fakeTestDeps) InitRuntimeCoverage() (mode string, tearDown func(string, string) (string, error), snapcov func() float64) {
    	return "", nil, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 15:31:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/runtime/map_test.go

    	mustNotPanic(func() {
    		_ = me[f32]
    	})
    	mustNotPanic(func() {
    		_ = me[f64]
    	})
    	mustNotPanic(func() {
    		_ = me[c64]
    	})
    	mustNotPanic(func() {
    		_ = me[c128]
    	})
    	mustNotPanic(func() {
    		_ = me[a]
    	})
    	mustNotPanic(func() {
    		_ = me[s]
    	})
    	mustNotPanic(func() {
    		_ = me[p]
    	})
    	mustNotPanic(func() {
    		_ = me[up]
    	})
    	mustNotPanic(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

          return %2 : tensor<?x2xf32>
        }
        func.func private @composite_fn_1(%arg0: tensor<?x2xf32>, %arg1: tensor<2x2xf32>, %arg2: tensor<2xf32>) -> tensor<?x2xf32> attributes {_from_xla_call_module, tf_quant.composite_function} {
          return %arg0 : tensor<?x2xf32>
        }
      }
    )mlir";
    
    constexpr absl::string_view kModuleDotWeightOnlyPtq = R"mlir(
      module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/const_tensor.mlir

      func.return %0, %1 : tensor<0x!tf_type.string>, tensor<7x!tf_type.string>
    }
    
    // Convert tf.Const to tfrt_fallback_async.const_dense_tensor only on cpu device
    // CHECK-LABEL: func @dense_tensor
    func.func @dense_tensor() -> tensor<4xui64> {
      // CHECK: tfrt_fallback_async.const_dense_tensor dense<[1, 2, 3, 4]> : tensor<4xui64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/ssa/rewrite.go

    func nlz32(x int32) int { return bits.LeadingZeros32(uint32(x)) }
    func nlz16(x int16) int { return bits.LeadingZeros16(uint16(x)) }
    func nlz8(x int8) int   { return bits.LeadingZeros8(uint8(x)) }
    
    // ntzX returns the number of trailing zeros.
    func ntz64(x int64) int { return bits.TrailingZeros64(uint64(x)) }
    func ntz32(x int32) int { return bits.TrailingZeros32(uint32(x)) }
    func ntz16(x int16) int { return bits.TrailingZeros16(uint16(x)) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top