Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SetImpl (0.09 sec)

  1. cmd/kubeadm/app/util/runtime/runtime_test.go

    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    			containerRuntime := NewContainerRuntime("")
    			mock := &fakeImpl{}
    			if tc.prepare != nil {
    				tc.prepare(mock)
    			}
    			containerRuntime.SetImpl(mock)
    
    			err := containerRuntime.Connect()
    
    			assert.Equal(t, tc.shouldError, err != nil)
    		})
    	}
    }
    
    func TestIsRunning(t *testing.T) {
    	for _, tc := range []struct {
    		name        string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

     */
    
    package com.google.common.collect;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.collect.BenchmarkHelpers.SetImpl;
    import com.google.common.collect.CollectionBenchmarkSampleData.Element;
    import java.util.Set;
    
    /**
     * Test iteration speed at various size for {@link Set} instances.
     *
     * @author Christopher Swenson
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java

     */
    
    package com.google.common.collect;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.collect.BenchmarkHelpers.SetImpl;
    
    /**
     * This is meant to be used with {@code --measureMemory} to measure the memory usage of various
     * {@code Set} implementations.
     *
     * @author Christopher Swenson
     */
    public class SetCreationBenchmark {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/runtime/runtime.go

    func NewContainerRuntime(criSocket string) ContainerRuntime {
    	return &CRIRuntime{
    		impl:      &defaultImpl{},
    		criSocket: criSocket,
    	}
    }
    
    // SetImpl can be used to set the internal implementation for testing purposes.
    func (runtime *CRIRuntime) SetImpl(impl impl) {
    	runtime.impl = impl
    }
    
    // Connect establishes a connection with the CRI runtime.
    func (runtime *CRIRuntime) Connect() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        String name();
      }
    
      public interface InternerImplEnum {
        <E> Interner<E> create(Collection<E> contents);
    
        String name();
      }
    
      public enum SetImpl implements CollectionsImplEnum {
        HashSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
            return new HashSet<E>(contents);
          }
        },
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  6. tests/integration/pilot/workloadentry_test.go

    			}
    			cfg.ApplyOrFail(t)
    
    			// create a unique SE per cluster
    			for _, c := range t.Clusters().Configs() {
    				t.ConfigKube(c).YAML(apps.Namespace.Name(), fmt.Sprintf(seTmpl, c.Name())).ApplyOrFail(t)
    			}
    
    			weTmpl := `
    apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadEntry
    metadata:
      name: se-cross-network-{{.testName}}
      labels:
        app: b
        security.istio.io/tlsMode: istio
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/ir/tfr_types.h

      static LogicalResult verify(function_ref<InFlightDiagnostic()> emitError,
                                  ArrayRef<StringAttr> attrs) {
        return success();
      }
    
      ArrayRef<StringAttr> getAttrKeys() { return Base::getImpl()->GetAttrs(); }
    };
    }  // namespace detail
    
    class TFRTensorType : public detail::TFRTypeImpl<TFRTensorType> {
     public:
      using TFRBase::TFRBase;
      static constexpr StringLiteral name = "tfr.tensor";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      for (Value result : results) {
        value_queue.push(result);
      }
      absl::flat_hash_set<mlir::detail::ValueImpl*> argument_set;
      for (Value argument : arguments) {
        argument_set.insert(argument.getImpl());
      }
    
      // Searching for ops from results to arguments. Duplicate ops in the op stack
      // are intentional in order to make sure the op on the top of the stack
      // doesn't depends on any ops below it.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/random/FallbackThreadLocalRandom$implStorage$1;->initialValue()Ljava/lang/Object;
    HSPLkotlin/random/FallbackThreadLocalRandom;-><init>()V
    HSPLkotlin/random/FallbackThreadLocalRandom;->getImpl()Ljava/util/Random;
    HSPLkotlin/random/Random$Default;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V
    HSPLkotlin/random/Random;-><clinit>()V
    HSPLkotlin/random/Random;-><init>()V
    HSPLkotlin/ranges/IntProgression;-><init>(III)V
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top