Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for twice (0.14 sec)

  1. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/compileTimeConstantProvider/Fe10IdeNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.java

      }
    
      @Test
      @TestMetadata("propertyInCompanionObject_indirect_twice.kt")
      public void testPropertyInCompanionObject_indirect_twice() {
        runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect_twice.kt");
      }
    
      @Test
      @TestMetadata("propertyInit_Byte.kt")
      public void testPropertyInit_Byte() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Feb 16 12:48:24 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Type annotation vs `Depends`
    
    Notice how we write `CommonQueryParams` twice in the above code:
    
    === "Python 3.8+"
    
        ```Python
        commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      private void memoizeExceptionThrownTest(ThrowingSupplier throwingSupplier) {
        Supplier<Integer> memoizedSupplier = Suppliers.memoize(throwingSupplier);
        // call get() twice to make sure that memoization doesn't interfere
        // with throwing the exception
        for (int i = 0; i < 2; i++) {
          try {
            memoizedSupplier.get();
            fail("failed to throw NullPointerException");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      private void memoizeExceptionThrownTest(ThrowingSupplier throwingSupplier) {
        Supplier<Integer> memoizedSupplier = Suppliers.memoize(throwingSupplier);
        // call get() twice to make sure that memoization doesn't interfere
        // with throwing the exception
        for (int i = 0; i < 2; i++) {
          try {
            memoizedSupplier.get();
            fail("failed to throw NullPointerException");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    func (w *Writer) Close() error {
    	if w.last != nil && !w.last.closed {
    		if err := w.last.close(); err != nil {
    			return err
    		}
    		w.last = nil
    	}
    	if w.closed {
    		return errors.New("zip: writer closed twice")
    	}
    	w.closed = true
    
    	// write central directory
    	start := w.cw.count
    	for _, h := range w.dir {
    		var buf [directoryHeaderLen]byte
    		b := writeBuf(buf[:])
    		b.uint32(uint32(directoryHeaderSignature))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/JoinerTest.java

        Joiner j = Joiner.on("x").skipNulls();
        try {
          j = j.useForNull("y");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void test_useForNull_twice() {
        Joiner j = Joiner.on("x").useForNull("y");
        try {
          j = j.useForNull("y");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        }
    
        if (failedConnection != null) {
          val retryRoute = retryRoute(failedConnection)
          if (retryRoute != null) {
            // Lock in the route because retryRoute() is racy and we don't want to call it twice.
            nextRouteToTry = retryRoute
            return true
          }
        }
    
        // If we have a routes left, use 'em.
        if (routeSelection?.hasNext() == true) return true
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

              signalledCallback = true
              responseCallback.onResponse(this@RealCall, response)
            } catch (e: IOException) {
              if (signalledCallback) {
                // Do not signal the callback twice!
                Platform.get().log("Callback failure for ${toLoggableString()}", Platform.INFO, e)
              } else {
                responseCallback.onFailure(this@RealCall, e)
              }
            } catch (t: Throwable) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  9. android/guava-tests/test/com/google/common/base/JoinerTest.java

        Joiner j = Joiner.on("x").skipNulls();
        try {
          j = j.useForNull("y");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void test_useForNull_twice() {
        Joiner j = Joiner.on("x").useForNull("y");
        try {
          j = j.useForNull("y");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testMap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Graph.java

       * @since 24.0
       */
      @Override
      Set<EndpointPair<N>> incidentEdges(N node);
    
      /**
       * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently,
       * the number of times an edge touches {@code node}).
       *
       * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top