Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,672 for threw (0.02 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

            get() = when (this) {
                is CtField -> "$name:$signature"
                is CtConstructor -> "<init>$signature"
                is CtMethod -> "$name$signature"
                else -> throw IllegalArgumentException("Unsupported javassist member type '${this::class}'")
            }
    }
    
    
    internal
    enum class MemberType {
        TYPE, CONSTRUCTOR, FIELD, METHOD
    }
    
    
    private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 12:41:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            if (!iterator.hasNext()) {
              iterator = iterable.iterator();
            }
            return iterator.next();
          }
    
          @Override
          public void remove() {
            throw new UnsupportedOperationException();
          }
        };
      }
    
      static <T extends @Nullable Object> T get(Iterator<T> iterator, int position) {
        for (int i = 0; i < position; i++) {
          iterator.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            } catch (InvalidVersionSpecificationException e) {
                throw new RuntimeException(e);
            }
        }
    
        private VersionRange parseVersionRange(String spec) {
            try {
                return versionScheme.parseVersionRange(spec);
            } catch (InvalidVersionSpecificationException e) {
                throw new RuntimeException(e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testGet_nullNotContainedAndUnsupported() {
        try {
          assertNull("get(null) should return null or throw", get(null));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testGet_nonNullWhenNullContained() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

      }
    
      private fun registerStandardClass(
        access: Feature.BeforeAnalysisAccess,
        name: String,
      ) {
        val clazz: Class<*> = access.findClassByName(name) ?: throw IllegalStateException("Missing class $name")
        RuntimeReflection.register(clazz)
        clazz.declaredConstructors.forEach {
          RuntimeReflection.register(it)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

            mapEntry("one", "January"),
            mapEntry("two", "February"),
            mapEntry("three", "March"),
            mapEntry("four", "April"),
            mapEntry("five", "May"));
      }
    
      @Override
      public SampleElements<String> sampleKeys() {
        return new SampleElements<>("one", "two", "three", "four", "five");
      }
    
      @Override
      public SampleElements<String> sampleValues() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedAndUnsupported() {
        try {
          assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testFind_nonNullWhenNullContained() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    
      private static Runnable runnableThrowing(final RuntimeException e) {
        return new Runnable() {
          @Override
          public void run() {
            throw e;
          }
        };
      }
    
      @SuppressWarnings("serial")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

      public Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollLastEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

            } catch (ComponentLookupException e) {
                throw new IllegalStateException(e);
            }
        }
    
        private static RepositorySystemSession rss(PlexusContainer c) {
            try {
                LegacySupport legacySupport = c.lookup(LegacySupport.class);
    
                return legacySupport.getRepositorySession();
            } catch (ComponentLookupException e) {
                throw new IllegalStateException(e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top