- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 335 for p$index (0.14 sec)
-
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt
val original: ApiFunctionParameter, val index: Int = original.index, val type: ApiTypeUsage = original.type, val isVarargs: Boolean = original.isVarargs, val asArgument: String = "${if (original.isVarargs) "*" else ""}`${original.name ?: "p$index"}`" ) { val name: String get() = original.name ?: "p$index" } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 21:41:53 UTC 2023 - 18.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/field/path.go
if p.parent != nil && len(p.name) > 0 { // This is either the root or it is a subscript. buf.WriteString(".") } if len(p.name) > 0 { buf.WriteString(p.name) } else { fmt.Fprintf(buf, "[%s]", p.index) } } return buf.String()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 11 08:23:53 UTC 2021 - 2.9K bytes - Viewed (0) -
src/cmd/gofmt/rewrite.go
return !p.IsValid() && !v.IsValid() } switch p.Kind() { case reflect.Slice: if p.Len() != v.Len() { return false } for i := 0; i < p.Len(); i++ { if !match(m, p.Index(i), v.Index(i)) { return false } } return true case reflect.Struct: for i := 0; i < p.NumField(); i++ { if !match(m, p.Field(i), v.Field(i)) { return false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 8.1K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm7.go
case ARNG_16B: c.checkindex(p, index, 15) Q = 1 imm5 = 1 imm5 |= index << 1 case ARNG_2D: c.checkindex(p, index, 1) Q = 1 imm5 = 8 imm5 |= index << 4 case ARNG_2S: c.checkindex(p, index, 3) Q = 0 imm5 = 4 imm5 |= index << 3 case ARNG_4H: c.checkindex(p, index, 7) Q = 0 imm5 = 2 imm5 |= index << 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0) -
src/image/color/ycbcr_test.go
RGBA{0x40, 0x40, 0x40, 0x40}, } // Check that, for a Palette with no repeated colors, the closest color to // each element is itself. for i, c := range p { j := p.Index(c) if i != j { t.Errorf("Index(%v): got %d (color = %v), want %d", c, j, p[j], i) } } // Check that finding the closest color considers alpha, not just red, // green and blue. got := p.Convert(RGBA{0x80, 0x00, 0x00, 0x80})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 07:51:17 UTC 2016 - 7.3K bytes - Viewed (0) -
pkg/scheduler/apis/config/validation/validation_pluginargs.go
for i, resource := range resources { if resource.Weight <= 0 || resource.Weight > 100 { msg := fmt.Sprintf("resource weight of %v not in valid range (0, 100]", resource.Name) allErrs = append(allErrs, field.Invalid(p.Index(i).Child("weight"), resource.Weight, msg)) } } return allErrs } // ValidateNodeResourcesBalancedAllocationArgs validates that NodeResourcesBalancedAllocationArgs are set correctly.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 09:29:49 UTC 2023 - 12.9K bytes - Viewed (0) -
src/image/color/color.go
func (p Palette) Convert(c Color) Color { if len(p) == 0 { return nil } return p[p.Index(c)] } // Index returns the index of the palette color closest to c in Euclidean // R,G,B,A space. func (p Palette) Index(c Color) int { // A batch version of this computation is in image/draw/draw.go. cr, cg, cb, ca := c.RGBA() ret, bestSum := 0, uint32(1<<32-1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 8.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/initorder.go
// cycle errors. } // reduce dependency count of all dependent nodes // and update priority queue for p := range n.pred { p.ndeps-- heap.Fix(&pq, p.index) } // record the init order for variables with initializers only v, _ := n.obj.(*Var) info := check.objMap[v] if v == nil || !info.hasInitializer() { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 22:06:51 UTC 2024 - 9.8K bytes - Viewed (0) -
src/go/types/initorder.go
// cycle errors. } // reduce dependency count of all dependent nodes // and update priority queue for p := range n.pred { p.ndeps-- heap.Fix(&pq, p.index) } // record the init order for variables with initializers only v, _ := n.obj.(*Var) info := check.objMap[v] if v == nil || !info.hasInitializer() { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 9.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 13.3K bytes - Viewed (0)