Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for lazySet (0.13 sec)

  1. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/lazy/LazyTest.groovy

    import java.util.concurrent.CyclicBarrier
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicInteger
    import java.util.function.Supplier
    
    class LazyTest extends Specification {
    
        def "#factoryName supplier code is executed once with use"() {
            def supplier = Mock(Supplier)
    
            when:
            def lazy = factory(supplier)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyHandlerProviderIntegrationTest.groovy

            buildFile << """
            configurations { conf }
    
            def lazyDep = objects.property(String).convention("org.mockito:mockito-core:1.8")
    
            dependencies {
                conf lazyDep
            }
    
            lazyDep.set("junit:junit:4.12")
    
            """
    
            when:
            succeeds'checkDeps'
    
            then:
            resolve.expectGraph {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go

    Russ Cox <******@****.***> 1689185292 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/internal/lazyregexp/lazyre.go

    Daniel Martí <******@****.***> 1551304971 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 27 23:49:01 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  5. src/crypto/x509/cert_pool.go

    		if err != nil {
    			continue
    		}
    		var lazyCert struct {
    			sync.Once
    			v *Certificate
    		}
    		s.addCertFunc(sha256.Sum224(cert.Raw), string(cert.RawSubject), func() (*Certificate, error) {
    			lazyCert.Do(func() {
    				// This can't fail, as the same bytes already parsed above.
    				lazyCert.v, _ = ParseCertificate(certBytes)
    				certBytes = nil
    			})
    			return lazyCert.v, nil
    		}, nil)
    		ok = true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/aot/compile.cc

    static std::string InterpolateErrorMessage(std::string message) {
      // See _NAME_REGEX in tensorflow/python/framework/error_interpolation.py
      // Change "prefix {{node tag.name}} suffix" to "prefix tag.name suffix".
      static LazyRE2 pattern{"(.*){{node (.*)}}(.*)"};
      RE2::GlobalReplace(&message, *pattern, "\\1\\2\\3");
    
      return message;
    }
    
    Status Main(const MainFlags& flags) {
      absl::call_once(targets_init, &InitializeTargets);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

          return;
        }
      }
    
      // Dimension equals to -1 means per-channel quantization is not supported for
      // the op. Therefore check whether the return value is positive integer as
      // well.
      static const LazyRE2 per_channel_support_regex = {
          "int GetQuantizationDimIndex\\(\\) \\{ return (\\d*); \\}"};
    
      for (const auto *def : defs) {
        Operator op(def);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top