Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 902 for correctly (0.19 sec)

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

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 11 18:08:12 GMT 2012
    - 989 bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        // Edge direction handled correctly
        assertThat(graph.inDegree(N1)).isEqualTo(0);
      }
    
      @Test
      public void outDegree_oneEdge() {
        putEdge(N1, N2);
        assertThat(graph.outDegree(N1)).isEqualTo(1);
        // Edge direction handled correctly
        assertThat(graph.outDegree(N2)).isEqualTo(0);
      }
    
      @Test
      public void hasEdgeConnecting_correct() {
        putEdge(N1, N2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

        }
    
    /**
     * Referenced callable symbol, even if it not completely correctly resolved.
     */
    private val FirQualifiedAccessExpression.referencedCallableSymbol: FirCallableSymbol<*>?
        get() {
            return toResolvedCallableSymbol()
        }
    
    /**
     * Referenced [ClassId], even if it is not completely correctly resolved.
     */
    private val FirResolvedTypeRef.resolvedClassId: ClassId?
        get() {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        } finally {
          executor.shutdownNow();
        }
    
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
      }
    
      /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */
      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        // Edge direction handled correctly
        assertThat(graph.inDegree(N1)).isEqualTo(0);
      }
    
      @Test
      public void outDegree_oneEdge() {
        putEdge(N1, N2);
        assertThat(graph.outDegree(N1)).isEqualTo(1);
        // Edge direction handled correctly
        assertThat(graph.outDegree(N2)).isEqualTo(0);
      }
    
      @Test
      public void hasEdgeConnecting_correct() {
        putEdge(N1, N2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/UsingToStringOrdering.java

      @Override
      public int compare(Object left, Object right) {
        return left.toString().compareTo(right.toString());
      }
    
      // preserve singleton-ness, so equals() and hashCode() work correctly
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
        return "Ordering.usingToString()";
      }
    
      private UsingToStringOrdering() {}
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/Derived.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Simple derived class to verify that we handle generics correctly. */
    @GwtCompatible
    class Derived extends Base {
      public Derived(String s) {
        super(s);
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 22:29:45 GMT 2023
    - 908 bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts

        /*
         We do not need guava in the generator, but because of a bug in the IJ project importing, we need to have a dependency on intellijCore
         the same as it is in `:fir:tree:tree-generator` module to the project be imported correctly
         */
        compileOnly(intellijCore())
        compileOnly(libs.guava)
    
        implementation(project(":compiler:psi"))
    }
    
    application {
        mainClass.set("org.jetbrains.kotlin.analysis.api.fir.generator.MainKt")
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Oct 18 18:42:40 GMT 2023
    - 1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/Derived.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Simple derived class to verify that we handle generics correctly. */
    @GwtCompatible
    class Derived extends Base {
      public Derived(String s) {
        super(s);
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 03 22:29:45 GMT 2023
    - 908 bytes
    - Viewed (0)
  10. docs/en/docs/advanced/middleware.md

    ```Python hl_lines="2  6"
    {!../../../docs_src/advanced_middleware/tutorial001.py!}
    ```
    
    ## `TrustedHostMiddleware`
    
    Enforces that all incoming requests have a correctly set `Host` header, in order to guard against HTTP Host Header attacks.
    
    ```Python hl_lines="2  6-8"
    {!../../../docs_src/advanced_middleware/tutorial002.py!}
    ```
    
    The following arguments are supported:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top