Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1511 - 1520 of 1,809 for scratch (0.05 seconds)

  1. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        // it's shared to avoid using too much memory in tests
        double[] sharedArray = new double[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Doubles.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Doubles.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

            @Override
            protected SearchResult search(String query, SearchRequestParams params, OptionalThing<FessUserBean> userBean) {
                try {
                    Thread.sleep(delayMs);
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
    
                SearchResultBuilder builder = SearchResult.create();
                for (int i = 0; i < 10; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

                        List<P> problems = getProblems(s);
                        while (!problems.isEmpty()) {
                            try {
                                return problems.remove(0) != null;
                            } catch (IndexOutOfBoundsException e) {
                                // empty, continue
                            }
                        }
                    }
                }
                return false;
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsCrawlingInfoBhv.java

                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setSessionId(DfTypeUtil.toString(source.get("sessionId")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsElevateWordBhv.java

                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsPathMappingBhv.java

                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                result.setUserAgent(DfTypeUtil.toString(source.get("userAgent")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

                // FIXME There should be no duplicates, yet there are some
                return upgradedProperties.stream()
                    .distinct()
                    .collect(ImmutableList.toImmutableList());
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Automatically accept changes that are valid property upgrades of a getter or setter.
         *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            exceptionParams.put("throwException", true);
    
            try {
                queryRescorer.evaluate(exceptionParams);
                fail("Expected RuntimeException");
            } catch (RuntimeException e) {
                assertEquals("Test exception", e.getMessage());
            }
        }
    
        @Test
        public void test_evaluate_concurrency() {
            queryRescorer = new QueryRescorer() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. 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);
                }
            };
        }
    
        /**
         * Interface for query filters that can modify or transform queries.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsUserBhv.java

                result.setUidNumber(DfTypeUtil.toLong(source.get("uidNumber")));
                result.setX121Address(DfTypeUtil.toString(source.get("x121Address")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top