- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,755 for Unnamed (0.17 sec)
-
test/escape5.go
_ = x[0] + y[0] } // Test for issue 19687 (passing to unnamed parameters does not escape). func f11(**int) { } func f12(_ **int) { } func f13() { var x *int f11(&x) f12(&x) runtime.KeepAlive(&x) } // Test for issue 24305 (passing to unnamed receivers does not escape). type U int func (*U) M() {} func (_ *U) N() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 5.3K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue50755.go
// during function argument type inference. // M2's constraint is unnamed. func f1[K1 comparable, E1 any](m1 map[K1]E1) {} func f2[M2 map[string]int](m2 M2) { f1(m2) } // The core type of M3 unifies with the type of m1 // during function argument type inference. // M3's constraint is named. type Map3 map[string]int func f3[M3 Map3](m3 M3) { f1(m3) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 1K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/service-no-port-name-system-namespace.yaml
# If port is unnamed or port name doesn't follow <protocol>[-<suffix>], the analyzer will report warning. # If the service is in system namespace, i.e., kube-system, istio-system, kube-public, the check will be skipped. apiVersion: v1 kind: Service metadata: name: my-service1 namespace: kube-system # Skipped because it's in a kube system namespace spec: selector: app: my-service1 ports: - protocol: TCP port: 8080
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 17 12:28:05 UTC 2021 - 1.3K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 15:32:00 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/gofmt/testdata/typeswitch.golden
switch x.(type) { // should become: switch x.(type) { case int: } switch x.(type) { // should remain the same case []int: } // Parenthesized (x.(type)) in type switches containing cases // with unnamed (literal) types were never permitted by gofmt; // thus there won't be any code in the wild using this style if // the code was gofmt-ed. /* switch (x.(type)) { case []int: } */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 15 17:17:30 UTC 2022 - 1.4K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/service-port-name.yaml
# If port is unnamed or port name doesn't follow <protocol>[-<suffix>], the analyzer will report warning. apiVersion: v1 kind: Service metadata: name: my-service namespace: my-namespace spec: selector: app: my-service ports: - name: tcp-foo protocol: TCP port: 8080 targetPort: 8080 --- # internal waypoint, should not generate warning apiVersion: v1 kind: Service metadata: labels:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 03 21:10:07 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleDeprecationMessageGroupedTaskFunctionalTest.groovy
given: def javaSourceFile = file("$JAVA_SRC_DIR_PATH/MyClass.java") def expectedOutput = "${javaSourceFile.absolutePath}:4: warning: [deprecation] Legacy in unnamed package has been deprecated" buildFile << """ apply plugin: 'java' compileJava { options.compilerArgs = ['-Xlint:all'] } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultTaskTest.groovy
task.actions[5].displayName == "I have a name" } def "unconventionally added actions that are not describable are unnamed"() { when: task.actions.add(Mock(Action)) then: task.actions[0].displayName == "Execute unnamed action" } def "can detect tasks with custom actions added"() { expect: !task.hasCustomActions when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 24 11:56:02 UTC 2023 - 16.2K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/containingDeclarationProvider/AbstractContainingDeclarationProviderByReferenceTest.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/gofmt/testdata/typeswitch.input
switch (x.(type)) { // should become: switch x.(type) { case int: } switch x.(type) { // should remain the same case []int: } // Parenthesized (x.(type)) in type switches containing cases // with unnamed (literal) types were never permitted by gofmt; // thus there won't be any code in the wild using this style if // the code was gofmt-ed. /* switch (x.(type)) { case []int: } */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 15 17:17:30 UTC 2022 - 1.4K bytes - Viewed (0)