Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for createLong (0.12 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryConcurrencyTest.groovy

                    return value.toString()
                }
    
                @Provides
                Integer createInteger() {
                    return 12
                }
    
                @Provides
                Long createLong(BigDecimal value) {
                    return value.longValue()
                }
    
                @Provides
                BigDecimal createBigDecimal() {
                    return 123
                }
            })
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

            @Provides
            Long createLong(Long value) {
                return value + 2
            }
    
            @Provides
            Long decorateLong(Long value) {
                return value + 2
            }
        }
    
        private static class TestDecoratingProviderWithCreate implements ServiceRegistrationProvider {
            @Provides
            Long createLong(Long value) {
                return value + 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/TypedDomainObjectContainerWrapperTest.groovy

            and:
            container.configure {
                createdOne
                createdTwo {
                    value = "changed"
                }
            }
    
            then:
            containerHas container, "createdOne", "createdTwo"
            parent.collect({it.name}).containsAll(["createdOne", "createdTwo"])
    
            and:
            container.getByName("createdOne").value == "original"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 10 22:34:19 UTC 2021
    - 5K bytes
    - Viewed (0)
  4. tensorflow/cc/ops/while_loop.cc

      TF_RETURN_IF_ERROR(scope.DoShapeInference(merge_node));
      *merge_output = Output(merge_node, 0);
      return absl::OkStatus();
    }
    
    // Creates the condition subgraph defined by `cond`.
    Status CreateCond(const Scope& scope, const CondGraphBuilderFn& cond,
                      const std::vector<Output>& inputs, Output* output) {
      // The control dependency is for constants in the cond graph, and other ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/runtime/mfinal.go

    		}
    	}
    }
    
    func wakefing() *g {
    	if ok := fingStatus.CompareAndSwap(fingCreated|fingWait|fingWake, fingCreated); ok {
    		return fing
    	}
    	return nil
    }
    
    func createfing() {
    	// start the finalizer goroutine exactly once
    	if fingStatus.Load() == fingUninitialized && fingStatus.CompareAndSwap(fingUninitialized, fingCreated) {
    		go runfinq()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top