Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2351 - 2360 of 3,670 for throwIf (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

          try {
            header.readChallengeHeader(result)
          } catch (e: EOFException) {
            Platform.get().log("Unable to parse challenge", Platform.WARN, e)
          }
        }
      }
      return result
    }
    
    @Throws(EOFException::class)
    private fun Buffer.readChallengeHeader(result: MutableList<Challenge>) {
      var peek: String? = null
    
      while (true) {
        // Read a scheme name for this challenge if we don't have one already.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesInfoTask.java

        public DependenciesInfoTask() {
            setDescription("Create a CSV file with dependencies information.");
        }
    
        @TaskAction
        public void generateDependenciesInfo() throws IOException {
    
            final DependencySet runtimeDependencies = runtimeConfiguration.getAllDependencies();
            // we have to resolve the transitive dependencies and create a group:artifactId:version map
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidQueryCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
                String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values;
                throw new InvalidQueryRegisteredException(msg);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      internal fun incrementSuccessCount() {
        withLock {
          successCount++
        }
      }
    
      @Throws(IOException::class)
      fun start() {
        idleAtNs = System.nanoTime()
        if (protocol == Protocol.HTTP_2 || protocol == Protocol.H2_PRIOR_KNOWLEDGE) {
          startHttp2()
        }
      }
    
      @Throws(IOException::class)
      private fun startHttp2() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            assertEquals(FileInformation.FILE_BASIC_INFO, info.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test FileBasicInfo decode method")
        void testFileBasicInfoDecode() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[64];
            int bufferIndex = 8;
    
            // Prepare test data in buffer (40 bytes of data)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/TopKSelector.java

      /**
       * Returns a {@code TopKSelector} that collects the lowest {@code k} elements added to it,
       * relative to the natural ordering of the elements, and returns them via {@link #topK} in
       * ascending order.
       *
       * @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2}
       */
      public static <T extends Comparable<? super T>> TopKSelector<T> least(int k) {
        return least(k, Ordering.natural());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

            public DateFormat next() {
                if (!hasNext()) {
                    throw new NoSuchElementException();
                }
                final int style = STYLES[index++];
                return DateFormat.getTimeInstance(style, locale);
            }
    
            @Override
            public void remove() {
                throw new ClUnsupportedOperationException("remove");
            }
    
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

            public DateFormat next() {
                if (!hasNext()) {
                    throw new NoSuchElementException();
                }
                final int style = STYLES[index++];
                return DateFormat.getDateTimeInstance(style, style, locale);
            }
    
            @Override
            public void remove() {
                throw new ClUnsupportedOperationException("remove");
            }
    
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractRangeSet.java

      @Override
      public boolean isEmpty() {
        return asRanges().isEmpty();
      }
    
      @Override
      public void add(Range<C> range) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public void remove(Range<C> range) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public void clear() {
        remove(Range.all());
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

            ProjectBuildList projectBuilds = null;
            MavenExecutionResult result = session.getResult();
    
            try {
                if (buildExecutionRequiresProject(session) && projectIsNotPresent(session)) {
                    throw new MissingProjectException("The goal you specified requires a project to execute"
                            + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
Back to Top