Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 1,790 for threw (0.05 sec)

  1. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

        protected FilterChain createDefaultFilterChain() {
            return query -> {
                try {
                    return createQueryParser().parse(query);
                } catch (final ParseException e) {
                    throw new QueryParseException(e);
                }
            };
        }
    
        public interface Filter {
            Query parse(final String query, final FilterChain chain);
        }
    
        public interface FilterChain {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

        val peekedHeader = reader.peekHeader()
        if (peekedHeader == null || peekedHeader.tagClass != tagClass || peekedHeader.tag != tag) {
          if (isOptional) return defaultValue as T
          throw ProtocolException("expected $this but was $peekedHeader at $reader")
        }
    
        val result =
          reader.read(name) {
            codec.decode(reader)
          }
    
        if (typeHint) {
          reader.typeHint = result
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedMultisets.java

        }
      }
    
      private static <E extends @Nullable Object> E getElementOrThrow(@CheckForNull Entry<E> entry) {
        if (entry == null) {
          throw new NoSuchElementException();
        }
        return entry.getElement();
      }
    
      @CheckForNull
      private static <E extends @Nullable Object> E getElementOrNull(@CheckForNull Entry<E> entry) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

            // check that groovy is visible.
            try {
                getClass().getClassLoader().loadClass("groovy.lang.Closure");
            } catch (ClassNotFoundException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Resolves the names in the given type into fully qualified names.
         */
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                            robotsTxt.addSitemap(value);
                        }
                    }
                }
    
                return robotsTxt;
            } catch (final Exception e) {
                throw new RobotsTxtException("Failed to parse robots.txt.", e);
            }
        }
    
        protected String getValue(final Pattern pattern, final String line) {
            final Matcher m = pattern.matcher(line);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

            }
            if (responseBodyFile != null) {
                try {
                    return new FileInputStream(responseBodyFile);
                } catch (final FileNotFoundException e) {
                    throw new IORuntimeException(e);
                }
            }
            return null;
        }
    
        public void setResponseBody(final byte[] responseBody) {
            responseBodyBytes = responseBody;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
      }
    
      /**
       * Test to ensure we don't  throw a read timeout on responses that are progressing.  For this
       * case, we take a 4KiB body and throttle it to 1KiB/second.  We set the read timeout to two
       * seconds.  If our implementation is acting correctly, it will not throw, as it is progressing.
       */
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.toArray(one)).isEqualTo(ARRAY1);
    
        double[] array = {(double) 0, (double) 1, Math.PI};
    
        List<Double> three = Arrays.asList((double) 0, (double) 1, Math.PI);
        assertThat(Doubles.toArray(three)).isEqualTo(array);
    
        assertThat(Doubles.toArray(Doubles.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/DialectVersion.java

         */
        public final boolean isSMB2 () {
            return this.smb2;
        }
    
    
        /**
         * @return the dialect
         */
        public final int getDialect () {
            if ( !this.smb2 ) {
                throw new UnsupportedOperationException();
            }
            return this.dialect;
        }
    
    
        /**
         * 
         * @param v
         * @return whether this version is a least the given one
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileInformation> T getInfo ( Class<T> type ) throws CIFSException {
            if ( !type.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) this.info;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
Back to top