- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,180 for Method (0.17 sec)
-
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
try { new NullPointerTester().testMethod(bar, method); } catch (AssertionFailedError expected) { return; // good...we wanted a failure } String errorMessage = rootLocaleFormat("Should have flagged method %s for %s", method.getName(), bar); fail(errorMessage); } public void testTwoArgNormalNormal() throws Exception {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0) -
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 }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
for (Method method : getInstanceMethodsToTest(instance.getClass(), minimalVisibility)) { testMethod(instance, method); } } ImmutableList<Method> getInstanceMethodsToTest(Class<?> c, Visibility minimalVisibility) { ImmutableList.Builder<Method> builder = ImmutableList.builder(); for (Method method : minimalVisibility.getInstanceMethods(c)) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Static convenience methods that help a method or constructor check whether it was invoked * correctly (that is, whether its <i>preconditions</i> were met). * * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception * of a specified type, which helps the method in which the exception was thrown communicate that
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
for (Method method : clazz.getDeclaredMethods()) { if (method.getReturnType().equals(HashFunction.class) // must return HashFunction && Modifier.isPublic(method.getModifiers()) // only the public methods && method.getParameterTypes().length != 0 // only the seeded hash functions && !method.getName().equals("concatenating") // don't test Hashing.concatenating()
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
added("Method", "SourceKt.foo()"), added("Method", "SourceKt.fooExt(java.lang.String)"), added("Method", "SourceKt.fooExt(int)"), added("Method", "SourceKt.getBar()"), added("Method", "SourceKt.getBarExt(java.lang.String)"), added("Method", "SourceKt.getBazar()"), added("Method", "SourceKt.getBazarExt(int)"),
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Jul 11 06:57:51 GMT 2023 - 12.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Request.kt
level = DeprecationLevel.ERROR, ) fun url(): HttpUrl = url @JvmName("-deprecated_method") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "method"), level = DeprecationLevel.ERROR, ) fun method(): String = method @JvmName("-deprecated_headers") @Deprecated( message = "moved to val",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:17:44 GMT 2024 - 10.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
*/ @CanIgnoreReturnValue public B suppressing(Method... methods) { return suppressing(Arrays.asList(methods)); } @CanIgnoreReturnValue public B suppressing(Collection<Method> methods) { suppressedTests.addAll(methods); return self(); } public Set<Method> getSuppressedTests() { return suppressedTests; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 10.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
class FreshValueGenerator { private static final ImmutableMap<Class<?>, Method> GENERATORS; static { ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder(); for (Method method : FreshValueGenerator.class.getDeclaredMethods()) { if (method.isAnnotationPresent(Generates.class)) { builder.put(method.getReturnType(), method); } } GENERATORS = builder.buildOrThrow(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
guava/src/com/google/common/base/Preconditions.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Static convenience methods that help a method or constructor check whether it was invoked * correctly (that is, whether its <i>preconditions</i> were met). * * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception * of a specified type, which helps the method in which the exception was thrown communicate that
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Feb 14 15:46:55 GMT 2024 - 52.9K bytes - Viewed (0)