Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,912 for method (0.05 sec)

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

        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = Lists.newArrayList();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If the constructor or factory method used to construct instance takes a parameter that
       *       {@link AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, instance methods are skipped for nulls test.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                    }
                """
            ) {
                assertHasErrors(
                    "Method com.example.Source.foo(): From non-null returning to null returning breaking change.",
                    "Method com.example.Source.getSomeVal(): From non-null returning to null returning breaking change.",
                    "Method com.example.Source.getSomeVar(): From non-null returning to null returning breaking change."
                )
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multiset.java

       * {@link Collections#frequency} (which would presumably perform more poorly).
       *
       * <p><b>Note:</b> the utility method {@link Iterables#frequency} generalizes this operation; it
       * correctly delegates to this method when dealing with a multiset, but it can also accept any
       * other iterable type.
       *
       * @param element the element to count occurrences of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    import java.lang.reflect.Method;
    import java.nio.channels.FileChannel.MapMode;
    import java.nio.charset.CharsetEncoder;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java

    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target({FIELD, CONSTRUCTOR, METHOD})
    @Retention(RUNTIME)
    @Documented
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/archive/zip/register.go

    	if _, dup := compressors.LoadOrStore(method, comp); dup {
    		panic("compressor already registered")
    	}
    }
    
    func compressor(method uint16) Compressor {
    	ci, ok := compressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return ci.(Compressor)
    }
    
    func decompressor(method uint16) Decompressor {
    	di, ok := decompressors.Load(method)
    	if !ok {
    		return nil
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. api/go1.5.txt

    pkg go/types, method (*Builtin) Exported() bool
    pkg go/types, method (*Builtin) Id() string
    pkg go/types, method (*Builtin) Name() string
    pkg go/types, method (*Builtin) Parent() *Scope
    pkg go/types, method (*Builtin) Pkg() *Package
    pkg go/types, method (*Builtin) Pos() token.Pos
    pkg go/types, method (*Builtin) String() string
    pkg go/types, method (*Builtin) Type() Type
    pkg go/types, method (*Chan) Dir() ChanDir
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/ParametricNullness.java

     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/ParametricNullness.java

     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top