Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Clojure (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. .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)
  8. cni/pkg/nodeagent/net_test.go

    	assert.NoError(t, err)
    	fakeIPSetDeps.AssertExpectations(t)
    }
    
    // for tests that call `runtime.GC()` - we have no control over when the GC is actually scheduled,
    // and it is flake-prone to check for closure after calling it, this retries for a bit to make
    // sure the netns is closed eventually.
    func assertNSClosed(t *testing.T, closed *atomic.Bool) {
    	for i := 0; i < 5; i++ {
    		if closed.Load() {
    			return
    		}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

            )
    
    
    private
    object SourceNames {
        const val javaClass = "java.lang.Class"
        const val groovyClosure = "groovy.lang.Closure"
        const val gradleAction = "org.gradle.api.Action"
        const val gradleTypeOf = "org.gradle.api.reflect.TypeOf"
        const val kotlinClass = "kotlin.reflect.KClass"
        const val kotlinArray = "kotlin.Array"
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  10. common/config/.golangci.yml

          - name: unreachable-code
          - name: struct-tag
          - name: constant-logical-expr
          - name: bool-literal-in-expr
          - name: redefines-builtin-id
          - name: imports-blacklist
          - name: range-val-in-closure
          - name: range-val-address
          - name: waitgroup-by-value
          - name: atomic
          - name: call-to-gc
          - name: duplicated-imports
          - name: string-of-int
          - name: defer
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top