Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,132 for would (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/primitives/ImmutableIntArray.java

          }
          // We could delegate to super now but it would still box too much
          if (!(object instanceof List)) {
            return false;
          }
          List<?> that = (List<?>) object;
          if (this.size() != that.size()) {
            return false;
          }
          int i = parent.start;
          // Since `that` is very likely RandomAccess we could avoid allocating this iterator...
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

      /** Returns the sample elements that this generate populates its container with. */
      SampleElements<E> samples();
    
      /**
       * Creates a new container containing the given elements. TODO: would be nice to figure out how to
       * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an
       * array of the erased type.
       */
      T create(Object... elements);
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            // Verify that the policyHandle passed to the constructor is the one used
            // This is implicitly tested by the object being constructed without errors.
            // If LsaPolicyHandle had methods called by the constructor, we would verify those calls.
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. internal/arn/arn.go

    	}
    
    	if ps[2] != string(arnServiceIAM) {
    		err = errors.New("invalid ARN - bad service field")
    		return arn, err
    	}
    
    	// ps[3] is region and is not validated here. If the region is invalid,
    	// the ARN would not match any configured ARNs in the server.
    	if ps[4] != "" {
    		err = errors.New("invalid ARN - unsupported account-id field")
    		return arn, err
    	}
    
    	res := strings.SplitN(ps[5], "/", 2)
    	if len(res) != 2 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/header-param-models.md

    # Header Parameter Models { #header-parameter-models }
    
    If you have a group of related **header parameters**, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

            apiClass.newClass >> Optional.of(newIncubatingBase)
            newSuper.addInterface(incubatingInterface)
    
            expect:
            noViolation(rule)
        }
    
        def "adding an #type interface to super class would not be reported"() {
            given:
            newSuper.addInterface(interfaces[type])
    
            expect:
            noViolation(rule)
    
            where:
            type << ['internal', 'incubating']
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        assertThat(orig.toString())
            .contains("Exception thrown from implementation: class java.lang.StackOverflowError");
      }
    
      // Regression test for a case where we would fail to execute listeners immediately on done futures
      // this would be observable from an afterDone callback
      public void testListenersExecuteImmediately_fromAfterDone() {
        AbstractFuture<String> f =
            new AbstractFuture<String>() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/graph/ImmutableGraph.java

         * silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph.
         *
         * @return this {@code Builder} object
         * @throws IllegalArgumentException if the introduction of the edge would violate {@link
         *     #allowsSelfLoops()}
         */
        @CanIgnoreReturnValue
        public Builder<N> putEdge(N nodeU, N nodeV) {
          mutableGraph.putEdge(nodeU, nodeV);
          return this;
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

          val toVerify = result[result.size - 1] as X509Certificate
    
          // If this cert has been signed by a trusted cert, use that. Add the trusted certificate to
          // the end of the chain unless it's already present. (That would happen if the first
          // certificate in the chain is itself a self-signed and trusted CA certificate.)
          val trustedCert = trustRootIndex.findByIssuerAndSignature(toVerify)
          if (trustedCert != null) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

      //    (hypothetical) unsafe read by our caller. Note: adding 'volatile' does not fix this issue,
      //    it would just add an edge such that if done() observed non-null, then it would also
      //    definitely observe all earlier writes, but we still have no guarantee that done() would see
      //    the initial write (just stronger guarantees if it does).
      //
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 64.3K bytes
    - Click Count (0)
Back to Top