- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 677 for assignments (0.39 sec)
-
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy
// Compile stuff tasks.register('compile', JavaCompile) { classpath = 12 } // Use stuff artifacts { prop = tasks.compile } """) } def "can add property assignments"() { given: builder .propertyAssignment("Set a property", "foo.bar", "bazar") .propertyAssignment(null, "cathedral", 42)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/const.go
// has a type, convlit1 has no effect. // // For explicit conversions, t must be non-nil, and integer-to-string // conversions are allowed. // // For implicit conversions (e.g., assignments), t may be nil; if so, // n is converted to its default type. // // If there's an error converting n to t, context is used in the error // message.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 10.5K bytes - Viewed (0) -
tests/upsert_test.go
} lang3 := Language{Code: "upsert", Name: "Upsert"} if err := DB.Clauses(clause.OnConflict{ Columns: []clause.Column{{Name: "code"}}, DoUpdates: clause.Assignments(map[string]interface{}{"name": "upsert-new"}), }).Create(&lang3).Error; err != nil { t.Fatalf("failed to upsert, got %v", err) } if err := DB.Find(&langs, "code = ?", lang.Code).Error; err != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Sep 05 07:39:19 UTC 2022 - 11.4K bytes - Viewed (0) -
src/crypto/internal/edwards25519/edwards25519.go
v.YplusX.One() v.YminusX.One() v.Z.One() v.T2d.Zero() return v } func (v *affineCached) Zero() *affineCached { v.YplusX.One() v.YminusX.One() v.T2d.Zero() return v } // Assignments. // Set sets v = u, and returns v. func (v *Point) Set(u *Point) *Point { *v = *u return v } // Encoding. // Bytes returns the canonical 32-byte encoding of v, according to RFC 8032,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 13 19:21:54 UTC 2023 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/walk/order.go
// as2func orders OAS2FUNC nodes. It creates temporaries to ensure left-to-right assignment. // The caller should order the right-hand side of the assignment before calling order.as2func. // It rewrites, // // a, b, a = ... // // as // // tmp1, tmp2, tmp3 = ... // a, b, a = tmp1, tmp2, tmp3 // // This is necessary to ensure left to right assignment order. func (o *orderState) as2func(n *ir.AssignListStmt) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 02:00:33 UTC 2024 - 42.7K bytes - Viewed (0) -
src/cmd/compile/internal/staticinit/sched.go
if !s.seenMutation { s.seenMutation = mayModifyPkgVar(rhs) } if allBlank(lhs) && !AnySideEffects(rhs) { return true // discard } // Only worry about simple "l = r" assignments. The OAS2* // assignments mostly necessitate dynamic execution anyway. if len(lhs) > 1 { return false } lno := ir.SetPos(n) defer func() { base.Pos = lno }() nam := lhs[0].(*ir.Name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repair.go
// Repair is a controller loop that periodically examines all service ClusterIP allocations // and logs any errors, and then sets the compacted and accurate list of all allocated IPs. // // Handles: // * Duplicate ClusterIP assignments caused by operator action or undetected race conditions // * ClusterIPs that do not match the currently configured range // * Allocations to services that were not actually created due to a crash or powerloss
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 13.8K bytes - Viewed (0) -
src/net/lookup.go
) // protocols contains minimal mappings between internet protocol // names and numbers for platforms that don't have a complete list of // protocol numbers. // // See https://www.iana.org/assignments/protocol-numbers // // On Unix, this map is augmented by readProtocols via lookupProtocol. var protocols = map[string]int{ "icmp": 1, "igmp": 2, "tcp": 6, "udp": 17, "ipv6-icmp": 58,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 28.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/phi.go
if b == nil { // On exit from a block, this case will undo any assignments done below. values[work.n] = work.v continue } // Process phis as new defs. They come before FwdRefs in this block. for _, v := range b.Values { if v.Op != ssa.OpPhi { continue } n := int32(v.AuxInt) // Remember the old assignment so we can undo it when we exit b.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 15.2K bytes - Viewed (0) -
test/escape2n.go
b.buf1 = b.arrPtr[1:2:3] // ERROR "\(\*Buffer\).arrayPtr ignoring self-assignment in b.buf1 = b.arrPtr\[1:2:3\]$" } func (b *Buffer) baz() { // ERROR "b does not escape$" b.str1 = b.str1[1:2] // ERROR "\(\*Buffer\).baz ignoring self-assignment in b.str1 = b.str1\[1:2\]$" b.str1 = b.str2[1:2] // ERROR "\(\*Buffer\).baz ignoring self-assignment in b.str1 = b.str2\[1:2\]$" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0)