Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 38 of 38 for Closure (0.11 seconds)

  1. cmd/admin-handlers.go

    	// try this server to generate a new token.
    
    	type healResp struct {
    		respBytes []byte
    		apiErr    APIError
    		errBody   string
    	}
    
    	// Define a closure to start sending whitespace to client
    	// after 10s unless a response item comes in
    	keepConnLive := func(w http.ResponseWriter, r *http.Request, respCh chan healResp) {
    		ticker := time.NewTicker(time.Second * 10)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  2. cmd/erasure-server-pool.go

    		// mergeEntryChannels will close 'merged' channel upon completion or cancellation.
    		errCh <- mergeEntryChannels(ctx, entries, merged, 1)
    	}()
    
    	return nil
    }
    
    // HealObjectFn closure function heals the object.
    type HealObjectFn func(bucket, object, versionID string, scanMode madmin.HealScanMode) error
    
    // List a prefix or a single object versions and heal
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbFile.java

            final SmbTreeHandleImpl th = this.treeHandle;
            if (th != null) {
                this.treeHandle = null;
    
                // Optimization: For non-strict lifecycle, delay tree handle closure
                // to allow connection reuse for subsequent operations
                if (this.transportContext.getConfig().isStrictResourceLifecycle()) {
                    th.close();
                } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcSetupExtension.java

    import static org.elasticsearch.gradle.internal.util.JavaUtil.getJavaHome;
    
    /**
     * By registering bwc tasks via this extension we can support declaring custom bwc tasks from the build script
     * without relying on groovy closures and sharing common logic for tasks created by the BwcSetup plugin already.
     */
    public class BwcSetupExtension {
    
        private static final String MINIMUM_COMPILER_VERSION_PATH = "src/main/resources/minimumCompilerVersion";
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 09:11:28 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  5. docs/fr/docs/help-fastapi.md

    * Dans de nombreux cas, il est préférable de comprendre leur **problème sous‑jacent ou cas d'utilisation**, car il pourrait exister une meilleure façon de le résoudre que ce qu'ils essaient de faire.
    
    ### Demander la clôture { #ask-to-close }
    
    S'ils répondent, il y a de fortes chances que vous ayez résolu leur problème, bravo, **vous êtes un héros** ! 🦸
    
    * Maintenant, si cela a résolu leur problème, vous pouvez leur demander de :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            final String script = "def sum = 0; for (int i = 1; i <= n; i++) { sum += i }; return sum";
            assertEquals(15, groovyEngine.evaluate(script, params));
        }
    
        /**
         * Test that closures work
         */
        @Test
        public void test_evaluate_closures() {
            final Map<String, Object> params = new HashMap<>();
            final String script = "def multiply = { x, y -> x * y }; return multiply(6, 7)";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  7. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"text/vnd.wap.wml",
    				"text/vnd.wap.wmlscript",
    				"text/x-awk",
    				"text/x-basic",
    				"text/x-c++hdr",
    				"text/x-c++src",
    				"text/x-cgi",
    				"text/x-chdr",
    				"text/x-clojure",
    				"text/x-coffeescript",
    				"text/x-csrc",
    				"text/x-csharp",
    				"text/x-cobol",
    				"text/x-coldfusion",
    				"text/x-common-lisp",
    				"text/x-diff",
    				"text/x-eiffel",
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Feb 11 01:15:55 GMT 2026
    - 50.4K bytes
    - Click Count (0)
  8. doc/go_spec.html

    </p>
    
    <pre>
    f := func(x, y int) int { return x + y }
    func(ch chan int) { ch &lt;- ACK }(replyChan)
    </pre>
    
    <p>
    Function literals are <i>closures</i>: they may refer to variables
    declared in a surrounding function. Those variables are then shared between
    the surrounding function and the function literal, and they survive as long
    as they are accessible.
    </p>
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top