Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 934 for Reflection (0.27 sec)

  1. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

    public class MediaTypeTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testParse_useConstants() throws Exception {
        for (MediaType constant : getConstants()) {
          assertSame(constant, MediaType.parse(constant.toString()));
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testCreate_useConstants() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSpliteratorNotImmutableCollectionAllowsAddMethod() {
        return Helpers.getMethod(
            CollectionSpliteratorTester.class, "testSpliteratorNotImmutable_CollectionAllowsAdd");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSpliteratorNotImmutableCollectionAllowsRemoveMethod() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/software/security/src/main/java/org/gradle/security/internal/KeyringStripper.java

                        idSignatures = Collections.emptyList();
                    }
    
                    // unfortunately, the PGPPublicKey constructor is package private, so we need to use reflection
                    stripped = KEY_CONSTRUCTOR.newInstance(
                        key.getPublicKeyPacket(),
                        null,
                        Collections.emptyList(),
                        ids,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

    import java.lang.reflect.Method
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    import okhttp3.internal.platform.AndroidPlatform
    import okhttp3.internal.platform.Platform
    
    /**
     * Modern reflection based SocketAdapter for Conscrypt class SSLSockets.
     *
     * This is used directly for providers where class name is known e.g. the Google Play Provider
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava/javadoc-link/checker-framework/package-list

    org.checkerframework.checker.units.qual
    org.checkerframework.common.aliasing
    org.checkerframework.common.aliasing.qual
    org.checkerframework.common.basetype
    org.checkerframework.common.reflection
    org.checkerframework.common.reflection.qual
    org.checkerframework.common.subtyping
    org.checkerframework.common.util
    org.checkerframework.common.util.count
    org.checkerframework.common.util.debug
    org.checkerframework.common.util.report
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 07 19:00:31 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Utilities for reflection. This package is a part of the open-source <a
     * href="https://github.com/google/guava">Guava</a> library.
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    package com.google.common.reflect;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 23 19:57:03 UTC 2023
    - 938 bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/classloading/ClassInfoCleaningGroovySystemLoader.java

            // this work has to be done before classes are loaded, otherwise there are risks that
            // the PermGen space is full before we create the reflection methods
    
            Class<?> classInfoClass = leakingLoader.loadClass("org.codehaus.groovy.reflection.ClassInfo");
            Field globalClassValueField = classInfoClass.getDeclaredField("globalClassValue");
            globalClassValueField.setAccessible(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 09:28:17 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/testdata/deadcode/ifacemethod2.go

    // license that can be found in the LICENSE file.
    
    // Test that a method *is* live if it matches an interface
    // method and the type is "indirectly" converted to an
    // interface through reflection.
    
    package main
    
    import "reflect"
    
    type I interface{ M() }
    
    type T int
    
    func (T) M() { println("XXX") }
    
    func main() {
    	e := reflect.ValueOf([]T{1}).Index(0).Interface()
    	e.(I).M()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 11 22:32:49 UTC 2020
    - 488 bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import com.google.common.base.Function;
    import com.google.common.base.Throwables;
    import com.google.common.collect.Lists;
    import com.google.common.reflect.AbstractInvocationHandler;
    import com.google.common.reflect.Reflection;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.AccessibleObject;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. test/ken/cplx3.go

    // run
    
    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test composition, decomposition, and reflection on complex numbers.
    
    package main
    
    import "unsafe"
    import "reflect"
    
    const (
    	R = 5
    	I = 6i
    
    	C1 = R + I // ADD(5,6)
    )
    
    func main() {
    	c0 := C1
    	c0 = (c0 + c0 + c0) / (c0 + c0 + 3i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 888 bytes
    - Viewed (0)
Back to top