Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 2,848 for methods_ (0.38 seconds)

  1. guava-tests/test/com/google/common/io/CharSourceTester.java

        for (Method method : testMethods) {
          suite.addTest(new CharSourceTester(factory, string, name, desc, method));
        }
        return suite;
      }
    
      private final ImmutableList<String> expectedLines;
    
      private CharSource source;
    
      public CharSourceTester(
          CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

        open fun query(body: RequestBody): Builder = method("QUERY", body)
    
        open fun method(
          method: String,
          body: RequestBody?,
        ): Builder =
          apply {
            require(method.isNotEmpty()) {
              "method.isEmpty() == true"
            }
            if (body == null) {
              require(!HttpMethod.requiresRequestBody(method)) {
                "method $method must have a request body."
              }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  3. guava-tests/test/com/google/common/io/CharSinkTester.java

          String name, CharSinkFactory factory, String string, String desc) {
        TestSuite stringSuite = new TestSuite(name + " [" + desc + "]");
        for (Method method : testMethods) {
          stringSuite.addTest(new CharSinkTester(factory, string, name, desc, method));
        }
        return stringSuite;
      }
    
      private final ImmutableList<String> lines;
      private final ImmutableList<String> expectedLines;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

     * CollectionSize} present in the features specified by {@link #withFeatures(Feature...)}.
     *
     * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this
     *     class (such as {@link #named(String)}) return this type, so that Builder methods of more
     *     derived classes can be chained onto them without casting.
     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

              @Override
              public void close() {
                throw new AssertionError(
                    "ForwardingExecutorService should have used the default method"
                        + " ExecutorService.close() (which would forward to methods like shutdown() on"
                        + " the delegate) instead of forwarding to delegate.close()");
              }
            };
        ExecutorService wrapper =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

         * descriptor.
         */
        private String id;
    
        /**
         * Field phases.
         */
        private java.util.List<Phase> phases;
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Method addPhase.
         *
         * @param phase a phase object.
         */
        public void addPhase(Phase phase) {
            getPhases().add(phase);
        } // -- void addPhase( Phase )
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

     * CollectionSize} present in the features specified by {@link #withFeatures(Feature...)}.
     *
     * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this
     *     class (such as {@link #named(String)}) return this type, so that Builder methods of more
     *     derived classes can be chained onto them without casting.
     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
       * hashCode()} on the set values so that set tests on unhashable objects can suppress it with
       * {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method[] getHashCodeMethods() {
        return new Method[] {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

     * The tests verify that:
     * <ul>
     *   <li>encoding and decoding round‑trip correctly handle typical, zero,
     *       and extreme {@code long} values.</li>
     *   <li>encode/decode methods interact correctly with a mocked
     *       {@link NdrBuffer} so that the correct method is called with
     *       the correct argument.</li>
     *   <li>passing {@code null} throws {@link NullPointerException}.
     * </ul>
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/body-updates.md

    ## Mettre à jour en remplaçant avec `PUT` { #update-replacing-with-put }
    
    Pour mettre à jour un élément, vous pouvez utiliser l’opération [HTTP `PUT`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT).
    
    Vous pouvez utiliser le `jsonable_encoder` pour convertir les données d’entrée en données pouvant être stockées au format JSON (par exemple, avec une base de données NoSQL). Par exemple, convertir `datetime` en `str`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
Back to Top