Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 3,805 for save (0.02 seconds)

  1. internal/logger/target/kafka/kafka.go

    	return atomic.LoadInt32(&h.status) == statusOnline
    }
    
    // Send log message 'e' to kafka target.
    func (h *Target) Send(ctx context.Context, entry any) error {
    	if h.store != nil {
    		// save the entry to the queue store which will be replayed to the target.
    		_, err := h.store.Put(entry)
    		return err
    	}
    	h.logChMu.RLock()
    	defer h.logChMu.RUnlock()
    	if h.logCh == nil {
    		// We are closing...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. cmd/erasure-server-pool-rebalance.go

    	doneCh := make(chan error, 1)
    	defer xioutil.SafeClose(doneCh)
    
    	// Save rebalance.bin periodically.
    	go func() {
    		// Update rebalance.bin periodically once every 5-10s, chosen randomly
    		// to avoid multiple pool leaders herding to update around the same
    		// time.
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		randSleepFor := func() time.Duration {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  3. cmd/erasure-healing-common.go

    	}
    
    	for _, count := range vidMap {
    		// do we have enough common versions
    		// that have enough quorum to satisfy
    		// the etag.
    		if count >= quorum {
    			return etags
    		}
    	}
    
    	return make([]string, len(partsMetadata))
    }
    
    // Extracts list of times from FileInfo slice and returns, skips
    // slice elements which have errors.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            assertTrue(queryFieldConfig.apiResponseFieldSet.contains("api2"));
        }
    
        @Test
        public void test_init_withAdditionalAnalyzedFields() {
            // Save original config
            FessConfig originalConfig = ComponentUtil.getFessConfig();
    
            try {
                // Use existing config from setUp and just override what we need to test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            String queryString = builder.toString();
            assertFalse(queryString.contains("important_content"));
        }
    
        @Test
        public void test_register() {
            // Save the original processor
            QueryProcessor originalProcessor = ComponentUtil.getQueryProcessor();
    
            try {
                // Create a new QueryProcessor and initialize it
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  6. cmd/erasure-sets.go

    		// Unknown algorithm returns -1, also if cardinality is lesser than 0.
    		return -1
    	}
    }
    
    // Returns always a same erasure coded set for a given input.
    func (s *erasureSets) getHashedSetIndex(input string) int {
    	return hashKey(s.distributionAlgo, input, len(s.sets), s.deploymentID)
    }
    
    // Returns always a same erasure coded set for a given input.
    func (s *erasureSets) getHashedSet(input string) (set *erasureObjects) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  7. docs/en/docs/how-to/custom-docs-ui-assets.md

    ```
    
    ### Download the files { #download-the-files }
    
    Download the static files needed for the docs and put them on that `static/` directory.
    
    You can probably right-click each link and select an option similar to "Save link as...".
    
    **Swagger UI** uses the files:
    
    * [`swagger-ui-bundle.js`](https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js)
    * [`swagger-ui.css`](https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ObjectArrays.java

        for (int i = 0; i < length; i++) {
          checkElementNotNull(array[i], i);
        }
        return array;
      }
    
      // We do this instead of Preconditions.checkNotNull to save boxing and array-creation cost.
      @CanIgnoreReturnValue
      static Object checkElementNotNull(@Nullable Object element, int index) {
        if (element == null) {
          throw new NullPointerException("at index " + index);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

                urlQueueService.saveSession(crawlerContext.sessionId);
                if (logger.isDebugEnabled()) {
                    logger.debug("Saved crawler session: sessionId={}", crawlerContext.sessionId);
                }
            } catch (final Exception e) {
                logger.warn("Failed to save crawler session: sessionId={}", crawlerContext.sessionId, e);
            }
        }
    
        /**
         * Returns the crawler context.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 17K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          val residentDuration = maxOf(0, nowMillis - receivedResponseMillis)
          return receivedAge + responseDuration + residentDuration
        }
    
        /**
         * Returns true if the request contains conditions that save the server from sending a response
         * that the client has locally. When a request is enqueued with its own conditions, the built-in
         * response cache won't be used.
         */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top