Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for reflectLen (0.12 sec)

  1. finisher_api.go

    	case reflect.Slice, reflect.Array:
    		var rowsAffected int64
    		tx = db.getInstance()
    
    		// the reflection length judgment of the optimized value
    		reflectLen := reflectValue.Len()
    
    		callFc := func(tx *DB) error {
    			for i := 0; i < reflectLen; i += batchSize {
    				ends := i + batchSize
    				if ends > reflectLen {
    					ends = reflectLen
    				}
    
    				subtx := tx.getInstance()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6570631">Sun bug 6570631</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSubListOriginalListSetAffectsSubListMethod() {
        return getMethod(ListSubListTester.class, "testSubList_originalListSetAffectsSubList");
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6570631">Sun bug 6570631</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSubListOriginalListSetAffectsSubListMethod() {
        return getMethod(ListSubListTester.class, "testSubList_originalListSetAffectsSubList");
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType());
      }
    
      private static class WithConstructorAndTypeParameter<T> {
        @SuppressWarnings("unused") // by reflection
        <X> WithConstructorAndTypeParameter() {}
      }
    
      public void testConstructor_returnType_hasTypeParameter() throws Exception {
        Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType());
      }
    
      private static class WithConstructorAndTypeParameter<T> {
        @SuppressWarnings("unused") // by reflection
        <X> WithConstructorAndTypeParameter() {}
      }
    
      public void testConstructor_returnType_hasTypeParameter() throws Exception {
        Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Throwables.java

          throw propagate(e.getCause());
        }
      }
    
      /** JavaLangAccess class name to load using reflection */
      @J2ktIncompatible @GwtIncompatible // not used by GWT emulation
      private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess";
    
      /** SharedSecrets class name to load using reflection */
      @J2ktIncompatible
      @GwtIncompatible // not used by GWT emulation
      @VisibleForTesting
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        public <T> Iterable<? super CharSequence> wildCardsDoNotMatchByLowerBound(
            List<? super String> list) {
          return notSubtype(list);
        }
    
        // Can't test getSupertype() or getSubtype() because JDK reflection doesn't consider
        // Foo<?> and Foo<? extends Bar> equal for class Foo<T extends Bar>
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getSetCountDuplicateInitializingMethods() {
        return asList(
            getMethod("testSetCount_threeToThree_removeSupported"),
            getMethod("testSetCount_threeToZero_supported"),
            getMethod("testSetCount_threeToOne_supported"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top