Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,534 for result2 (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      @Deprecated
      public static <T> Set<T> intersection(Set<? extends T> set1, Set<? extends T> set2) {
        Set<T> result = copyToSet(set1);
        result.retainAll(set2);
        return result;
      }
    
      private FeatureUtil() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableBiMap.java

      @Override
      public ImmutableBiMap<V, K> inverse() {
        if (isEmpty()) {
          return ImmutableBiMap.of();
        }
        ImmutableBiMap<V, K> result = inverse;
        return (result == null) ? inverse = new Inverse() : result;
      }
    
      private final class Inverse extends ImmutableBiMap<V, K> {
    
        @Override
        public int size() {
          return inverse().size();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. docs/ru/docs/async.md

    ```Python
    results = await some_library()
    ```
    
    В этом случае *функции обработки пути* необходимо объявлять с использованием синтаксиса `async def`:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 39.9K bytes
    - Viewed (0)
  4. docs/pt/docs/async.md

    ```Python
    results = await some_library()
    ```
    
    Então, declare sua *função de operação de rota* com `async def` como:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note
    
    Você só pode usar `await` dentro de funções criadas com `async def`.
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. schema/index_test.go

    }
    
    func TestParseIndex(t *testing.T) {
    	user, err := schema.Parse(&UserIndex{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user index, got error %v", err)
    	}
    
    	results := map[string]schema.Index{
    		"idx_user_indices_name": {
    			Name:   "idx_user_indices_name",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name"}}},
    		},
    		"idx_name": {
    			Name:   "idx_name",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                    }
                  }
                },
                "Custom thread name");
        thread.start();
        enterLatch.await();
        assertFalse(task.isDone());
        String result = task.toString();
        assertThat(result).contains("Custom thread name");
        task.cancel(true);
        exitLatch.await();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. istioctl/pkg/proxystatus/proxystatus_test.go

    		},
    		{ // case 1, with Istiod instance
    			args:           []string{},
    			expectedString: "NAME     CLUSTER     CDS     LDS     EDS     RDS     ECDS     ISTIOD",
    		},
    		{ // case 2: supplying nonexistent pod name should result in error with flag
    			args:          strings.Split("deployment/random-gibberish", " "),
    			wantException: true,
    		},
    		{ // case 3: supplying nonexistent deployment name
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt

    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.Dns
    
    /**
     * Internal Bootstrap DNS implementation for handling initial connection to DNS over HTTPS server.
     *
     * Returns hardcoded results for the known host.
     */
    internal class BootstrapDns(
      private val dnsHostname: String,
      private val dnsServers: List<InetAddress>,
    ) : Dns {
      @Throws(UnknownHostException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       */
      @Override
      public ImmutableSetMultimap<V, K> inverse() {
        ImmutableSetMultimap<V, K> result = inverse;
        return (result == null) ? (inverse = invert()) : result;
      }
    
      private ImmutableSetMultimap<V, K> invert() {
        Builder<V, K> builder = builder();
        for (Entry<K, V> entry : entries()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. cmd/metacache-stream_test.go

    		t.Errorf("got unexpected result: %#v", names)
    	}
    
    	// Try with prefix
    	r = loadMetacacheSample(t)
    	err = r.forwardTo("src/compress/zlib/reader_t")
    	if err != nil {
    		t.Fatal(err)
    	}
    	names, err = r.readNames(-1)
    	if err != io.EOF {
    		t.Fatal(err)
    	}
    	if !reflect.DeepEqual(names, want) {
    		t.Errorf("got unexpected result: %#v", names)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 15K bytes
    - Viewed (0)
Back to top