Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,748 for creat (0.39 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        Multiset<String> c = HashMultiset.create();
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCopyOf_multiset_oneElement() {
        Multiset<String> c = HashMultiset.create(asList("a"));
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

          RankedTensorType::get(static_cast<int32_t>(1), builder.getI32Type());
      auto out_segids_cst = builder.create<TFL::ConstOp>(
          builder.getI32TensorAttr(flattened_out_segids));
      auto contracting_segids_cst = builder.create<TFL::ConstOp>(
          builder.getI32TensorAttr(flattened_contracting_segids));
      auto num_segids_tensor =
          builder.create<TFL::ConstOp>(DenseIntElementsAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. pkg/registry/core/service/storage/storage_test.go

    			// Create the object as specified and check the results.
    			obj, err := storage.Create(ctx, tc.create.svc, rest.ValidateAllObjectFunc, &metav1.CreateOptions{})
    			if tc.create.expectError && err != nil {
    				return
    			}
    			if err != nil {
    				t.Fatalf("unexpected error creating service: %v", err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScopeTest.kt

    import org.junit.Test
    
    
    class PluginDependenciesSpecScopeTest {
    
        @Test
        fun `given a single id, it should create a single request with no version`() {
            expecting(plugin(id = "plugin-id")) {
                id("plugin-id")
            }
        }
    
        @Test
        fun `given a single id and apply value, it should create a single request with no version`() {
            listOf(true, false).forEach { applyValue ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 06:46:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

      public static class ImmutableListOfGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          return ImmutableList.copyOf(elements);
        }
      }
    
      public static class BuilderAddListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          ImmutableList.Builder<String> builder = ImmutableList.<String>builder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        extends FluentFuture.TrustedFuture<O> implements Runnable {
      static <I extends @Nullable Object, O extends @Nullable Object> ListenableFuture<O> create(
          ListenableFuture<I> input,
          AsyncFunction<? super I, ? extends O> function,
          Executor executor) {
        checkNotNull(executor);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/HashBiMapTest.java

    public class HashBiMapTest extends TestCase {
    
      public static final class HashBiMapGenerator extends TestStringBiMapGenerator {
        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
          BiMap<String, String> result = HashBiMap.create();
          for (Entry<String, String> entry : entries) {
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testCompletionOrder() throws Exception {
        SettableFuture<Long> future1 = SettableFuture.create();
        SettableFuture<Long> future2 = SettableFuture.create();
        SettableFuture<Long> future3 = SettableFuture.create();
        SettableFuture<Long> future4 = SettableFuture.create();
        SettableFuture<Long> future5 = SettableFuture.create();
    
        ImmutableList<ListenableFuture<Long>> futures =
            inCompletionOrder(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testCompletionOrder() throws Exception {
        SettableFuture<Long> future1 = SettableFuture.create();
        SettableFuture<Long> future2 = SettableFuture.create();
        SettableFuture<Long> future3 = SettableFuture.create();
        SettableFuture<Long> future4 = SettableFuture.create();
        SettableFuture<Long> future5 = SettableFuture.create();
    
        ImmutableList<ListenableFuture<Long>> futures =
            inCompletionOrder(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  10. plugin/pkg/admission/namespace/autoprovision/admission_test.go

    }
    
    // hasCreateNamespaceAction returns true if it has the create namespace action
    func hasCreateNamespaceAction(mockClient *fake.Clientset) bool {
    	for _, action := range mockClient.Actions() {
    		if action.GetVerb() == "create" && action.GetResource().Resource == "namespaces" {
    			return true
    		}
    	}
    	return false
    }
    
    // TestAdmission verifies a namespace is created on create requests for namespace managed resources
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top