Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 178 for assignOps (0.16 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/code/UserCodeApplicationContext.java

    import org.gradle.api.Action;
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    import javax.annotation.Nullable;
    import java.util.function.Supplier;
    
    /**
     * Assigns and stores an ID for the application of some user code (e.g. scripts and plugins).
     */
    @ServiceScope(Scope.CrossBuildSession.class)
    public interface UserCodeApplicationContext {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/go/doc/headscan.go

    	"strings"
    )
    
    var (
    	root    = flag.String("root", filepath.Join(runtime.GOROOT(), "src"), "root of filesystem tree to scan")
    	verbose = flag.Bool("v", false, "verbose mode")
    )
    
    // ToHTML in comment.go assigns a (possibly blank) ID to each heading
    var html_h = regexp.MustCompile(`<h3 id="[^"]*">`)
    
    const html_endh = "</h3>\n"
    
    func isGoFile(fi fs.FileInfo) bool {
    	return strings.HasSuffix(fi.Name(), ".go") &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 21:50:52 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            expect:
            bean.name == "<display name>"
    
            beanWithNoName.name.startsWith("${UsesToStringInConstructor.name}_Decorated@")
        }
    
        def "assigns display name to read only property of type Property<T>"() {
            given:
            def finalReadOnlyBean = create(HasReadOnlyFinalProperty, Describables.of("<display name>"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/resource_variable_ops.cc

      TF_RETURN_IF_ERROR(op_ptr->SetAttrType("dtype", dtype));
      int num_retvals = 1;
      return op_ptr->Execute(absl::MakeSpan(value, 1), &num_retvals);
    }
    
    // Op: AssignVariableOp()
    // Summary: Assigns a new value to a variable.
    //
    // Description:
    //   Any ReadVariableOp with a control dependency on this op is guaranteed to
    //   return this value or a subsequent newer value of the variable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

      op->replaceAllUsesWith(new_op.getOperation()->getResults());
      op->erase();
      return new_op;
    }
    
    // Returns success if the function has at most one op of the template type and
    // assigns it to `result`, if present. If there are multiple such ops, returns
    // failure.
    template <typename OpT>
    LogicalResult GetOp(Region* region, OpT* result) {
      *result = {};
      for (auto op : region->getOps<OpT>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy

            expect:
            bean.bean.name == "property 'bean'"
            beanWithDisplayName.bean.name == "<display-name> property 'bean'"
        }
    
        def "assigns display name to nested object when owner has toString() implementation"() {
            def bean = create(NestedBeanClassWithToString)
            def beanWithDisplayName = create(NestedBeanClassWithToString, Describables.of("<display-name>"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/util/ports/FixedAvailablePortAllocatorTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.util.ports
    
    class FixedAvailablePortAllocatorTest extends AbstractPortAllocatorTest {
    
        def "assigns a unique fixed port range based on worker id (totalWorkers: #totalWorkers, totalAgents: #totalAgents)" () {
            int rangeSize = FixedAvailablePortAllocator.DEFAULT_RANGE_SIZE - 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 05 09:53:33 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/DependencyClassPathNotationConverterTest.groovy

            then:
            out instanceof DefaultFileCollectionDependency
    
            when: // same instance is reused
            def out2 = parse(GRADLE_API)
    
            then:
            out2.is out
        }
    
        def "assigns component identifier to dependency"() {
            expect:
            def dep = parse(notation)
            dep.targetComponentId.displayName == displayName
    
            where:
            notation        | displayName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/net/net_fake.go

    			panic("unreachable")
    		}
    	}
    
    	switch ffd.fd.net {
    	case "tcp", "tcp4", "tcp6":
    		if addr == nil {
    			return assignIP(new(TCPAddr))
    		}
    		return assignIP(addr)
    
    	case "udp", "udp4", "udp6":
    		if addr == nil {
    			return assignIP(new(UDPAddr))
    		}
    		return assignIP(addr)
    
    	case "unix", "unixgram", "unixpacket":
    		uaddr, ok := addr.(*UnixAddr)
    		if !ok && addr != nil {
    			return &AddrError{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. RELEASE_BRANCHES.md

    * All changes should have an associated GitHub issue and/or a release note.
        * In the event that a bug cannot be automatically backported, the istio-testing bot creates an issue for a failed
        attempt and assigns it to the developer. This issue **is not** sufficient for requesting approval.
    * For manual cherry-picks:
        * Large fixes, where the LOC>100 not withstanding unit tests changes, require subject-matter expert approval.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 12 23:27:43 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top