Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Clojure (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/erasure-sets.go

    		eps := make([]Endpoint, s.setDriveCount)
    		copy(eps, s.endpoints.Endpoints[setIndex*s.setDriveCount:setIndex*s.setDriveCount+s.setDriveCount])
    		return eps
    	}
    }
    
    // GetDisks returns a closure for a given set, which provides list of disks per set.
    func (s *erasureSets) GetDisks(setIndex int) func() []StorageAPI {
    	return func() []StorageAPI {
    		s.erasureDisksMu.RLock()
    		defer s.erasureDisksMu.RUnlock()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  7. tensorflow/c/eager/tape.h

    // to allow their size to be computed and they need to be passable to a backward
    // function and deleted (as the backprop code creates lots of gradients the user
    // is not interested in).
    //
    // BackwardFunction needs to be a closure which stores intermediate activations
    // from the forward computation and calls a vector-jacobian product function
    // (also known as adjoint function) to compute, given downstream gradients,
    // upstream gradients.
    //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  8. cmd/erasure-server-pool.go

    						cancel()
    						return
    					}
    				}()
    			}
    			wg.Wait()
    		}
    	}()
    
    	return nil
    }
    
    // HealObjectFn closure function heals the object.
    type HealObjectFn func(bucket, object, versionID string, scanMode madmin.HealScanMode) error
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  9. 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)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
Back to top