Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,196 for assignOp (0.24 sec)

  1. src/compress/flate/huffman_code.go

    	var total int
    	for i, f := range freq {
    		if f != 0 {
    			total += int(f) * int(h.codes[i].len)
    		}
    	}
    	return total
    }
    
    const maxBitsLimit = 16
    
    // bitCounts computes the number of literals assigned to each bit size in the Huffman encoding.
    // It is only called when list.length >= 3.
    // The cases of 0, 1, and 2 literals are handled by special case code.
    //
    // list is an array of the literals with non-zero frequencies
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/doc.go

    // license that can be found in the LICENSE file.
    
    // Package assign defines an Analyzer that detects useless assignments.
    //
    // # Analyzer assign
    //
    // assign: check for useless assignments
    //
    // This checker reports assignments of the form x = x or a[i] = a[i].
    // These are almost always useless, and even when they aren't they are
    // usually a mistake.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 481 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

        // result op.
        result_id = builder->create<TF::IdentityOp>(
            res.getLoc(), compile_op->getResult(0).getType(),
            result_id->getResult(0));
        // Assign to same device as result is currently set, unless unset and then
        // assign to the device on which compilation will happen.
        // TODO(jpienaar): Remove this later.
        if (auto device = res->getAttrOfType<StringAttr>("device")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. .github/workflows/stale-issues.yml

            uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b # v7.0.0
            with:
              #Comma separated list of labels that can be assigned to issues to exclude them from being marked as stale
              exempt-issue-labels: 'override-stale'
              #Comma separated list of labels that can be assigned to PRs to exclude them from being marked as stale
              exempt-pr-labels: "override-stale"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 23 20:04:38 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. pkg/volume/util/recyclerclient/recycler_client_test.go

    				newPodEvent(watch.Added, "podRecyclerDeleted", v1.PodPending, ""),
    				newEvent(v1.EventTypeNormal, "Successfully assigned recycler-for-podRecyclerDeleted to 127.0.0.1"),
    				newPodEvent(watch.Deleted, "podRecyclerDeleted", v1.PodPending, ""),
    			},
    			expectedEvents: []mockEvent{
    				{v1.EventTypeNormal, "Successfully assigned recycler-for-podRecyclerDeleted to 127.0.0.1"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  7. pkg/registry/core/pod/storage/storage.go

    			return nil, fmt.Errorf("unexpected object: %#v", obj)
    		}
    		if pod.DeletionTimestamp != nil {
    			return nil, fmt.Errorf("pod %s is being deleted, cannot be assigned to a host", pod.Name)
    		}
    		if pod.Spec.NodeName != "" {
    			return nil, fmt.Errorf("pod %v is already assigned to node %q", pod.Name, pod.Spec.NodeName)
    		}
    		// Reject binding to a scheduling un-ready Pod.
    		if len(pod.Spec.SchedulingGates) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoUtils.kt

                }
                is AssignmentTraceElement.RecordedAssignment -> {
                    val assigned = trace.resolvedAssignments.getValue(element.lhs) as Assigned
                    println("${element.lhs} := ${element.rhs} => ${assigned.objectOrigin}")
                }
            }
        }
    }
    
    
    fun printResolvedAssignments(result: ResolutionResult) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. test/map.go

    			}
    			_, b = mib[i]
    			if !b {
    				panic(fmt.Sprintf("tuple existence assign: mib[%d]\n", i))
    			}
    		}
    		{
    			_, b := mii[i]
    			if !b {
    				panic(fmt.Sprintf("tuple existence decl: mii[%d]\n", i))
    			}
    			_, b = mii[i]
    			if !b {
    				panic(fmt.Sprintf("tuple existence assign: mii[%d]\n", i))
    			}
    		}
    		{
    			_, b := mfi[f]
    			if !b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 06 21:02:55 UTC 2014
    - 14.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/scanner_test.go

    	// assignment operations
    	{_AssignOp, "+=", Add, precAdd},
    	{_AssignOp, "-=", Sub, precAdd},
    	{_AssignOp, "|=", Or, precAdd},
    	{_AssignOp, "^=", Xor, precAdd},
    
    	{_AssignOp, "*=", Mul, precMul},
    	{_AssignOp, "/=", Div, precMul},
    	{_AssignOp, "%=", Rem, precMul},
    	{_AssignOp, "&=", And, precMul},
    	{_AssignOp, "&^=", AndNot, precMul},
    	{_AssignOp, "<<=", Shl, precMul},
    	{_AssignOp, ">>=", Shr, precMul},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
Back to top