Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 2,310 for works (0.07 sec)

  1. docs/recipes.md

    description: A collection of common/useful code examples for Kotlin and Java
    ---
    
    
    # Recipes
    
    We've written some recipes that demonstrate how to solve common problems with OkHttp. Read through them to learn about how everything works together. Cut-and-paste these examples freely; that's what they're for.
    
    ### Synchronous Get ([.kt][SynchronousGetKotlin], [.java][SynchronousGetJava])
    
    Download a file, print its headers, and print its response body as a string.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  2. cmd/signature-v4.go

    // are equal. The signatures are expected to be HEX encoded strings
    // according to the AWS S3 signature V4 spec.
    func compareSignatureV4(sig1, sig2 string) bool {
    	// The CTC using []byte(str) works because the hex encoding
    	// is unique for a sequence of bytes. See also compareSignatureV2.
    	return subtle.ConstantTimeCompare([]byte(sig1), []byte(sig2)) == 1
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/custom_device_test.cc

      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      TFE_DeleteTensorHandle(retval);
    
      // Custom device: inputs in same custom device works.
      matmul.reset(MatMulOp(context.get(), hcustom0.get(), hcustom0.get()));
      num_retvals = 1;
      executed = false;
      TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 27 23:39:24 UTC 2020
    - 18.4K bytes
    - Viewed (0)
  4. architecture/networking/pilot.md

    #### Gateway
    
    Gateway (referring to the [Kubernetes API](http://gateway-api.org/), not the same-named Istio type) works very similarly to [Ingress](#ingress). The Gateway controller also converts Gateway API types into `VirtualService` and `Gateway`, implementing the `ConfigStore` interface.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PredicatesTest.java

        SerializableTester.reserializeAndAssert(trimEqualsFoo);
      }
    
      /**
       * Tests for Predicates.contains(Pattern) and .containsPattern(String). We assume the regex level
       * works, so there are only trivial tests of that aspect. TODO: Fix comment style once annotation
       * stripper is fixed.
       */
      @GwtIncompatible // Predicates.containsPattern
      public void testContainsPattern_apply() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

    import junit.framework.TestSuite;
    
    /**
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class ImmutableDoubleArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. docs/em/docs/python-types.md

    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    `name` đŸ”ĸ **✔** (đŸšĢ *đŸ“Ļ*) ↩ī¸ âšĢī¸ đŸšĢ ✔ī¸ đŸ”ĸ 💲. , `name` đŸšĢ `None` 💲:
    
    ```Python
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    👍 📰, 🕐 👆 🔛 🐍 3ī¸âƒŖ.1ī¸âƒŖ0ī¸âƒŖ 👆 🏆 đŸšĢ ✔ī¸ 😟 🔃 👈, 👆 🔜 đŸ’Ē đŸŽ¯ ⚙ī¸ `|` đŸ”Ŧ đŸ‡ĒđŸ‡ē 🆎:
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009c_py310.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_TensorHandleCopyToDevice(h0_task0_new, ctx, remote_device_name, status);
      EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Copying and executing on the new remote device works.
      const char new_remote_device_name[] =
          "/job:worker/replica:0/task:1/device:CPU:0";
      const char new_local_device_name[] =
          "/job:worker/replica:0/task:0/device:CPU:0";
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * if (forceCacheResponse.code() != 504) {
     *   // The resource was cached! Show it.
     * } else {
     *   // The resource was not cached.
     * }
     * ```
     *
     * This technique works even better in situations where a stale response is better than no response.
     * To permit stale cached responses, use the `max-stale` directive with the maximum staleness in
     * seconds:
     *
     * ```java
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Tables.java

              RowSortedTable<R, ? extends C, ? extends V> table) {
        /*
         * It's not ? extends R, because it's technically not covariant in R. Specifically,
         * table.rowMap().comparator() could return a comparator that only works for the ? extends R.
         * Collections.unmodifiableSortedMap makes the same distinction.
         */
        return new UnmodifiableRowSortedMap<>(table);
      }
    
      private static final class UnmodifiableRowSortedMap<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top