Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Clojure (0.16 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

        }
    
        public static void setChildren(Node element, Closure cl) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            leftShift(element, cl)
        }
    
        public static def leftShift(Node parent, Closure cl) {
            DomBuilder builder = new DomBuilder(parent)
            cl.delegate = builder
            cl.call()
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. internal/http/listener.go

    func (listener *httpListener) start() {
    	// Closure to send acceptResult to acceptCh.
    	// It returns true if the result is sent else false if returns when doneCh is closed.
    	send := func(result acceptResult) bool {
    		select {
    		case listener.acceptCh <- result:
    			// Successfully written to acceptCh
    			return true
    		case <-listener.ctx.Done():
    			return false
    		}
    	}
    
    	// Closure to handle TCPListener until done channel is closed.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. architecture-standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    We do not introduce new public API methods that include Groovy types in their signatures.
    Existing Groovy methods will not be removed immediately.
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * If we would have used `Closure`, we must instead use `Action<T>`, `Spec<T>`, `Callable<T>`, or `Transformer<OUT, IN>`.
    * We need to ensure all APIs that are exposed in the Groovy DSL go through runtime decoration.
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Wed Jan 31 14:32:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. tests/test_ws_router.py

                await websocket.close(code=status.WS_1006_ABNORMAL_CLOSURE, reason=repr(e))
    
        myapp = make_app(middleware=[Middleware(errorhandler)])
        client = TestClient(myapp)
        with pytest.raises(WebSocketDisconnect) as e:
            with client.websocket_connect("/depends-err/"):
                pass  # pragma: no cover
        assert e.value.code == status.WS_1006_ABNORMAL_CLOSURE
        assert "NotImplementedError" in e.value.reason
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Graphs.java

      }
    
      /**
       * Returns the transitive closure of {@code graph}. The transitive closure of a graph is another
       * graph with an edge connecting node A to node B if node B is {@link #reachableNodes(Graph,
       * Object) reachable} from node A.
       *
       * <p>This is a "snapshot" based on the current topology of {@code graph}, rather than a live view
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Supplier.java

    /**
     * A class that can supply objects of a single type; a pre-Java-8 version of {@link
     * java.util.function.Supplier java.util.function.Supplier}. Semantically, this could be a factory,
     * generator, builder, closure, or something else entirely. No guarantees are implied by this
     * interface.
     *
     * <p>The {@link Suppliers} class provides common suppliers and related utilities.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Supplier.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Legacy version of {@link java.util.function.Supplier java.util.function.Supplier}. Semantically,
     * this could be a factory, generator, builder, closure, or something else entirely. No guarantees
     * are implied by this interface.
     *
     * <p>The {@link Suppliers} class provides common suppliers and related utilities.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Oct 20 14:12:57 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  8. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    We do not introduce new public API methods that include Groovy types in their signatures.
    Existing Groovy methods will not be removed immediately.
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * If we would have used `Closure`, we must instead use `Action<T>`, `Spec<T>`, `Callable<T>`, or `Transformer<OUT, IN>`.
    * We need to ensure all APIs that are exposed in the Groovy DSL go through runtime decoration.
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            TestDomainObject value1 = new TestDomainObject('a')
            TestDomainObject value2 = new TestDomainObject('a')
            repository.put('class1', value1)
            repository.put('class2', value2)
            Closure cl = Mock()
    
            when:
            repository.each(cl)
    
            then:
            1 * cl.call(['class1', value1] as Object[])
            1 * cl.call(['class2', value2] as Object[])
            0 * cl._
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. .gitignore

    cscope.*
    
    # Go test binaries
    *.test
    /hack/.test-cmd-auth
    
    # JUnit test output from ginkgo e2e tests
    /junit*.xml
    
    # Mercurial files
    **/.hg
    **/.hg*
    
    # Vagrant
    .vagrant
    network_closure.sh
    
    # Local cluster env variables
    /cluster/env.sh
    
    # Compiled binaries in third_party
    /third_party/pkg
    
    # Also ignore etcd installed by hack/install-etcd.sh
    /third_party/etcd*
    /default.etcd
    
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Thu Feb 29 08:22:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top