Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 403 for Reflection (0.17 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

            String::class.java,
            String::class.java,
          )
        } catch (_: NoSuchMethodException) {
          null
        }
    
      /** Android method to clean and sort certificates, called via reflection. */
      @Suppress("unused", "UNCHECKED_CAST")
      fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        host: String,
      ): List<Certificate> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddSupportedNullPresentMethod() {
        return Helpers.getMethod(SetAddTester.class, "testAdd_supportedNullPresent");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

                  newUpdater(AggregateFutureState.class, "remaining"));
        } catch (Throwable reflectionFailure) { // sneaky checked exception
          // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
          // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
          // For these users fallback to a suboptimal implementation, based on synchronized. This will
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

                  newUpdater(AggregateFutureState.class, "remaining"));
        } catch (Throwable reflectionFailure) { // sneaky checked exception
          // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
          // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
          // For these users fallback to a suboptimal implementation, based on synchronized. This will
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/PersistentModuleSource.java

         * id. The id is used during serialization to identify the kind of
         * source and select the appropriate serializer. This is _just_
         * a performance optimization, in order to avoid reflection during
         * serialization.
         *
         * @return the source id
         */
        int getCodecId();
    
        /**
         * A codec will be used by the metadata serializer to encode
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

    import okhttp3.Protocol
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    
    /**
     * Simple non-reflection SocketAdapter for Android Q+.
     *
     * These API assumptions make it unsuitable for use on earlier Android versions.
     */
    @SuppressLint("NewApi")
    @SuppressSignatureCheck
    class Android10SocketAdapter : SocketAdapter {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullUnsupportedMethod() {
        return Helpers.getMethod(CollectionCreationTester.class, "testCreateWithNull_unsupported");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/encoding/gob/example_interface_test.go

    	// Pass pointer to interface so Encode sees (and hence sends) a value of
    	// interface type. If we passed p directly it would see the concrete type instead.
    	// See the blog post, "The Laws of Reflection" for background.
    	err := enc.Encode(&p)
    	if err != nil {
    		log.Fatal("encode:", err)
    	}
    }
    
    // interfaceDecode decodes the next interface value from the stream and returns it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 2.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

      /**
       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
       * so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getForEachEntryDuplicateInitializingMethods() {
        return Arrays.asList(
            Helpers.getMethod(MultisetForEachEntryTester.class, "testForEachEntryDuplicates"));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/internal/coerce/StringToEnumTransformer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.coerce;
    
    import org.codehaus.groovy.reflection.CachedClass;
    import org.gradle.internal.Cast;
    import org.gradle.util.internal.GUtil;
    
    public class StringToEnumTransformer implements MethodArgumentsTransformer, PropertySetTransformer {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top