- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for G4 (0.02 sec)
-
src/internal/types/testdata/fixedbugs/issue60377.go
// Therefore we can infer a type argument in this case. type S[P any] struct{} func g4[P any](S[P]) {} func _() { var x S[int] g4(x) // we can infer int for P g4[int](x) // int is the correct type argument g4[string](x /* ERROR "cannot use x (variable of type S[int]) as S[string] value in argument to g4[string]" */) } // This is similar to the first example but here T1 is a component
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 30 20:19:38 UTC 2023 - 2.3K bytes - Viewed (0) -
test/fixedbugs/issue59338.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 22:12:27 UTC 2023 - 700 bytes - Viewed (0) -
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr4PluginIntegrationTest.groovy
private goodGrammar() { file("grammar-builder/src/main/antlr/org/acme/Test.g4") << """grammar Test; @header { package org.acme; } r : 'hello' ID ; ID : [a-z]+ ; WS : [ \\t\\r\\n]+ -> skip ; """ file("grammar-builder/src/main/antlr/Another.g4") << """grammar Another; r : 'hello' ID ; ID : [a-z]+ ;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 4.7K bytes - Viewed (0) -
test/fixedbugs/bug273.go
} func bigcap() { g1 = make([]block, 10, big) } type cblock [1<<16 - 1]byte var g4 chan cblock func badchancap() { g4 = make(chan cblock, minus1) } func bigchancap() { g4 = make(chan cblock, big) } func overflowchan() { const ptrSize = unsafe.Sizeof(uintptr(0)) g4 = make(chan cblock, 1<<(30*(ptrSize/4))) } func main() { shouldfail(badlen, "badlen")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 26 14:06:28 UTC 2018 - 1.3K bytes - Viewed (0) -
tensorflow/cc/gradients/data_flow_grad.cc
// dynamic_partition(data, partitions, num_partitions) = { // [10, 20, 50], // [30, 40] // } // grads = { // [g1, g2, g3], // [g4, g5] // } // The desired propagation of the gradients back to the data inputs is: // [g1, g2, g4, g5, g3] auto data = op.input(0); auto partitions = op.input(1); int32_t num_partitions; TF_RETURN_IF_ERROR(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jul 24 13:40:35 UTC 2021 - 5.8K bytes - Viewed (0) -
test/method4.dir/prog.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 07 12:26:48 UTC 2014 - 1.7K bytes - Viewed (0) -
test/fixedbugs/issue33020.dir/a.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package a var G1 int var G2 int var G3 int var G4 int var G5 int var G6 int var G7 int var G8 int var G9 int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 18 11:34:23 UTC 2019 - 282 bytes - Viewed (0) -
platforms/software/dependency-management/src/test/resources/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializerTest/gradle/module-with-constraints.module
"dependencyConstraints": [ { "module": "m3", "group": "g3", "version": { "prefers": "v3" }}, { "module": "m4", "version": { "requires": "v4", "strictly": "v4a", "rejects": ["v5"] }, "group": "g4"}, { "module": "m5", "version": { "prefers": "v5", "rejects": ["v6", "v7"] }, "group": "g5"}, { "module": "m6", "version": { "rejects": ["+"] }, "group": "g6"},
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.3K bytes - Viewed (0) -
test/fixedbugs/issue7044.go
// Use all 16 registers to do float64 --> float32 conversion. g0, g1, g2, g3, g4, g5, g6, g7, g8, g9, g10, g11, g12, g13, g14, g15 :=
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2.2K bytes - Viewed (0) -
src/internal/types/testdata/examples/inference2.go
func g2(func(int, int)) {} func g3(func(int) string) {} func g4[P any](func(P) string) {} func g5[P, Q any](func(P) string, func(P) Q) {} func g6(func(int), func(string)) {} func _() { g1(f1) g1(f2 /* ERROR "cannot infer P" */) g2(f4) g4(f6) g5(f6, f7) g6(f1, f1) } // Argument passing of partially instantiated functions
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 12 18:44:59 UTC 2023 - 3.2K bytes - Viewed (0)