- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 665 for Reflection (0.15 sec)
-
cmd/api-utils.go
return s3URLEncode(name) } return name } // getHandlerName returns the name of the handler function. It takes the type // name as a string to clean up the name retrieved via reflection. This function // only works correctly when the type is present in the cmd package. func getHandlerName(f http.HandlerFunc, cmdType string) string { name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
/** * Returns {@link Method} instances for the tests that assume multisets support duplicates so that * the test of {@code Multisets.forSet()} can suppress them. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getIteratorDuplicateInitializingMethods() { return Arrays.asList( Helpers.getMethod(MultisetIteratorTester.class, "testIteratorKnownOrder"),
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThat(expected) .hasMessageThat() .isEqualTo("end index (0) must not be less than start index (1)"); } } @GwtIncompatible("Reflection") @J2ktIncompatible public void testAllOverloads_checkArgument() throws Exception { for (ImmutableList<Class<?>> sig : allSignatures(boolean.class)) { Method checkArgumentMethod =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 19.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
} @J2ktIncompatible @GwtIncompatible // reflection public void testKeySetBridgeMethods() { for (Method m : TreeMultimap.class.getMethods()) { if (m.getName().equals("keySet") && m.getReturnType().equals(SortedSet.class)) { return; } } fail("No bridge method found"); } @J2ktIncompatible @GwtIncompatible // reflection public void testAsMapBridgeMethods() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 18:34:03 UTC 2024 - 22.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedRelocationIntegrationTest.groovy
doFirst { printScriptOrigin("Action", owner) } } def printScriptOrigin(def title, def o) { // need to get through reflection to bypass the Groovy MOP on closures, which would cause calling the method on the owner instead of the closure itself def type = o.getClass()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Parameter.java
* compatibility problems on Android VMs. The corresponding accessor method, however, can have the * more specific return type as long as users are careful to guard calls to it with version checks * or reflection: Android VMs ignore the types of elements that aren't used. */ private final @Nullable Object annotatedType; Parameter( Invokable<?, ?> declaration, int position, TypeToken<?> type,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 16 15:12:31 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/kube/krt/helpers.go
func (n Named) GetNamespace() string { return n.Namespace } // GetApplyConfigKey returns the key for the ApplyConfig. // If there is none, this will return nil. func GetApplyConfigKey[O any](a O) *Key[O] { // Reflection is expensive; short circuit here if !strings.HasSuffix(ptr.TypeName[O](), "ApplyConfiguration") { return nil } val := reflect.ValueOf(a) if val.Kind() == reflect.Ptr { val = val.Elem() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/GrammarDelegate.java
/** * Antlr defines its {@link antlr.preprocessor.Grammar} class as package-protected for some unfortunate reason. So this class acts as a delegate to the Antlr {@link antlr.preprocessor.Grammar} class, * hiding all the ugly necessary reflection code. */ public class GrammarDelegate { public static List<GrammarDelegate> extractGrammarDelegates(GrammarFile antlrGrammarFile) { List<GrammarDelegate> grammarDelegates = new ArrayList<GrammarDelegate>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
* can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return Helpers.getMethod(ListAddAtIndexTester.class, "testAddAtIndex_nullSupported"); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 5.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/StartParameterInternal.java
} public void setVfsVerboseLogging(boolean vfsVerboseLogging) { this.vfsVerboseLogging = vfsVerboseLogging; } /** * Used by the Kotlin plugin, via reflection. */ @Deprecated public boolean isConfigurationCache() { return getConfigurationCache().get(); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 29 08:08:36 UTC 2023 - 8.1K bytes - Viewed (0)