Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2091 - 2100 of 2,371 for Try (0.09 seconds)

  1. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

         *
         * @param configId the configuration ID to retrieve
         * @return the CrawlingConfig object or null if not found or on error
         */
        public CrawlingConfig getCrawlingConfig(final String configId) {
            try {
                return crawlingConfigCache.get(configId, () -> {
                    final ConfigType configType = getConfigType(configId);
                    if (configType == null) {
                        return null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

              if (other.isConnected(range) && !other.intersection(range).isEmpty()) {
                overlaps = true;
                anyOverlaps = true;
                break;
              }
            }
    
            try {
              ImmutableRangeSet<Integer> unused = builder.add(range).build();
              assertFalse(overlaps);
              mutable.add(range);
            } catch (IllegalArgumentException e) {
              assertTrue(overlaps);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  3. fastapi/.agents/skills/fastapi/SKILL.md

    router = APIRouter()
    
    
    @router.get("/")
    async def list_items():
        return []
    
    
    # In main.py
    app.include_router(router, prefix="/items", tags=["items"])
    ```
    
    There could be exceptions, but try to follow this convention.
    
    Apply shared dependencies at the router level via `dependencies=[Depends(...)]`.
    
    ## Dependency Injection
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        }
    
        default int getSystemPropertyAsInt(final String key, final int defaultValue) {
            final String value = getSystemProperty(key);
            if (value != null) {
                try {
                    return Integer.parseInt(value);
                } catch (final NumberFormatException e) {
                    // ignore
                }
            }
            return defaultValue;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  5. cmd/batch-handlers.go

    func (b *BatchJobPrefix) UnmarshalYAML(value *yaml.Node) error {
    	// try slice first
    	tmpSlice := []string{}
    	if err := value.Decode(&tmpSlice); err == nil {
    		*b = tmpSlice
    		return nil
    	}
    	// try string
    	tmpStr := ""
    	if err := value.Decode(&tmpStr); err == nil {
    		*b = []string{tmpStr}
    		return nil
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  6. android/guava/src/com/google/common/eventbus/EventBus.java

      /** Handles the given exception thrown by a subscriber with the given context. */
      void handleSubscriberException(Throwable e, SubscriberExceptionContext context) {
        checkNotNull(e);
        checkNotNull(context);
        try {
          exceptionHandler.handleException(e, context);
        } catch (Throwable e2) {
          // if the handler threw an exception... well, just log it
          logger.log(
              Level.SEVERE,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        server.enqueue(MockResponse())
        client =
          client
            .newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                try {
                  chain.proceed(chain.request())
                  throw AssertionError()
                } catch (expected: IOException) {
                  chain.proceed(chain.request())
                }
              },
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/QueryHelper.java

         * @throws InvalidQueryException if the query string cannot be parsed
         */
        public void buildBaseQuery(final QueryContext queryContext, final Consumer<QueryContext> context) {
            try {
                final Query query = getQueryParser().parse(queryContext.getQueryString());
                final QueryBuilder queryBuilder = ComponentUtil.getQueryProcessor().execute(queryContext, query, 1.0f);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            osObj.loadAverages = osStats.getCpu().getLoadAverage();
            return osObj;
        }
    
        private EngineObj getEngineObj() {
            final EngineObj engineObj = new EngineObj();
            try {
                final SearchEngineClient esClient = ComponentUtil.getSearchEngineClient();
                final ClusterHealthResponse response =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/AbstractBiMap.java

          K k = entry.getKey();
          V v = entry.getValue();
          K conflict = inverse.delegate.putIfAbsent(v, k);
          if (conflict != null) {
            broken = entry;
            // We're definitely going to throw, but we'll try to keep the BiMap in an internally
            // consistent state by removing the bad entry.
            itr.remove();
          }
        }
        if (broken != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
Back to Top