Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 557 for forks (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .isEqualTo(new File("/c:/Documents ~ Settings, or not/11-12 12:05"));
      }
    
      // https://github.com/google/guava/issues/2152
      @AndroidIncompatible // works in newer Android versions but fails at the version we test with
      public void testToFile_androidIncompatible() throws Exception {
        assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05")))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    You can have any combinations of dependencies that you want.
    
    **FastAPI** will make sure everything is run in the correct order.
    
    /// note | "Technical Details"
    
    This works thanks to Python's <a href="https://docs.python.org/3/library/contextlib.html" class="external-link" target="_blank">Context Managers</a>.
    
    **FastAPI** uses them internally to achieve this.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. chainable_api.go

    	tx = db.getInstance()
    	if conds := tx.Statement.BuildCondition(query, args...); len(conds) > 0 {
    		tx.Statement.AddClause(clause.Where{Exprs: conds})
    	}
    	return
    }
    
    // Not add NOT conditions
    //
    // Not works similarly to where, and has the same syntax.
    //
    //	// Find the first user with name not equal to jinzhu
    //	db.Not("name = ?", "jinzhu").First(&user)
    func (db *DB) Not(query interface{}, args ...interface{}) (tx *DB) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

    import junit.framework.TestSuite;
    
    /** @author Kevin Bourrillion */
    @GwtCompatible(emulated = true)
    public class ImmutableIntArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
        assertThat(ImmutableIntArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableIntArray.of(0).asList()).containsExactly(0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * build-system quirks.
       */
      private @interface GwtTransient {}
    
      /**
       * Compares strings in natural order except that null comes immediately before a given value. This
       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. 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)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Quasi-implementation of {@link ListIterator} that works from a list of elements and a set of
       * features to support (from the enclosing {@link AbstractIteratorTester} instance). Instead of
       * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top