Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 66 for Breakers (0.06 seconds)

  1. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            CIFSException exception = assertThrows(CIFSException.class, () -> {
                circuitBreaker.executeWithCircuitBreaker(() -> "should not execute");
            }, "Circuit breaker should throw CIFSException when open");
    
            assertTrue(exception.getMessage().contains("Circuit breaker 'test' is open"), "Exception message should indicate circuit is open");
        }
    
        @Test
        public void testCircuitResetsAfterTimeout() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            final Thread[] readers = new Thread[readerCount];
            final Exception[] exceptions = new Exception[readerCount + 1];
            final int[] trueCount = new int[readerCount];
            final int[] falseCount = new int[readerCount];
    
            // Start reader threads
            for (int i = 0; i < readerCount; i++) {
                final int index = i;
                readers[i] = new Thread(() -> {
                    try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  3. docs/zh-hant/llm-prompt.md

    ### Preferred translations / glossary
    
    - Should avoid using simplified Chinese characters and terms. Always examine if the translation can be easily comprehended by the Traditional Chinese readers.
    - For some Python-specific terms like "pickle", "list", "dict" etc, we don't have to translate them.
    - Use the following preferred translations when they apply in documentation prose:
    
    - request (HTTP): 請求
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

                                // Some failures
                                breaker.call(() -> {
                                    throw new RuntimeException("Test");
                                });
                            } else {
                                // Some successes
                                breaker.call(() -> "success");
                                successCount.incrementAndGet();
                            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. cmd/metacache-set.go

    		// not a storage error.
    		return nil
    	}
    	readers := make([]*metacacheReader, len(disks))
    	defer func() {
    		for _, r := range readers {
    			r.Close()
    		}
    	}()
    	for i := range disks {
    		r, w := io.Pipe()
    		// Make sure we close the pipe so blocked writes doesn't stay around.
    		defer r.CloseWithError(context.Canceled)
    
    		readers[i] = newMetacacheReader(r)
    		d := disks[i]
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  6. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

    import org.elasticsearch.action.search.SearchRequest;
    import org.elasticsearch.common.breaker.CircuitBreaker;
    import org.elasticsearch.common.breaker.NoopCircuitBreaker;
    import org.elasticsearch.common.lucene.search.TopDocsAndMaxScore;
    import org.elasticsearch.index.Index;
    import org.elasticsearch.index.shard.ShardId;
    import org.elasticsearch.indices.breaker.NoneCircuitBreakerService;
    import org.elasticsearch.search.DocValueFormat;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  7. docs/en/docs/contributing.md

    Translation pull requests are made by LLMs guided with prompts designed by the FastAPI team together with the community of native speakers for each supported language.
    
    #### LLM Prompt per Language
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  8. docs_src/dataclasses_/tutorial003_py310.py

        return {"name": author_id, "items": items}  # (6)
    
    
    @app.get("/authors/", response_model=list[Author])  # (7)
    def get_authors():  # (8)
        return [  # (9)
            {
                "name": "Breaters",
                "items": [
                    {
                        "name": "Island In The Moon",
                        "description": "A place to be playin' and havin' fun",
                    },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. cmd/local-locker.go

    				// Check same i
    			} else {
    				if lri.Writer {
    					writers++
    				} else {
    					readers++
    				}
    				// Move to next
    				i++
    			}
    		}
    		if modified {
    			l.lockMap[k] = lris
    		}
    	}
    	t := time.Now()
    	l.lastCleanup.Store(&t)
    	l.readers.Store(readers)
    	l.writers.Store(writers)
    }
    
    func newLocker() *localLocker {
    	return &localLocker{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. src/archive/zip/writer.go

    	// flag bit is set. However, there are several problems:
    	//
    	//	* Many ZIP readers still do not support UTF-8.
    	//	* If the UTF-8 flag is cleared, several readers simply interpret the
    	//	name and comment fields as whatever the local system encoding is.
    	//
    	// In order to avoid breaking readers without UTF-8 support,
    	// we avoid setting the UTF-8 flag if the strings are CP-437 compatible.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
Back to Top