- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 140 for stanza (0.13 sec)
-
src/internal/types/testdata/fixedbugs/issue47127.go
// Copyright 2021 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. // Embedding of stand-alone type parameters is not permitted. package p type ( _[P any] interface{ *P | []P | chan P | map[string]P } _[P any] interface{ P /* ERROR "term cannot be a type parameter" */ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 2K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/IncrementalAndroidTestProject.groovy
templateName: 'santaTrackerAndroidBuild', pathToChange: 'common/src/main/java/com/google/android/apps/santatracker/AudioPlayer.kt', taskToRunForChange: ':santa-tracker:assembleDebug' ) static final NOW_IN_ANDROID = new IncrementalAndroidTestProject( templateName: 'nowInAndroidBuild',
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.7K bytes - Viewed (0) -
src/encoding/gob/example_interface_test.go
} // This example shows how to encode an interface value. The key // distinction from regular types is to register the concrete type that // implements the interface. func Example_interface() { var network bytes.Buffer // Stand-in for the network. // We must register the concrete type for the encoder and decoder (which would // normally be on a separate machine from the encoder). On each end, this tells the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 02 00:13:47 UTC 2016 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/union.go
} if !Identical(u, t.typ) { check.errorf(tlist[i], InvalidUnion, "invalid use of ~ (underlying type of %s is %s)", t.typ, u) continue } } // Stand-alone embedded interfaces are ok and are handled by the single-type case // in the beginning. Embedded interfaces with tilde are excluded above. If we reach
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 16:16:58 UTC 2023 - 6.3K bytes - Viewed (0) -
test/fibo.go
// -half add values using two half-digit additions // -opt optimize memory allocation through reuse // -short only print the first 10 digits of very large fibonacci numbers // Command fibo is a stand-alone test and benchmark to // evaluate the performance of bignum arithmetic written // entirely in Go. package main import ( "flag" "fmt" "math/big" // only used for printing "os" "strconv"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 08 22:22:58 UTC 2014 - 6.3K bytes - Viewed (0) -
src/internal/types/testdata/check/funcinference.go
f := f1[int] f(int(0), new(int)) f1(int(0), new(int)) } func f2[A any, B interface{[]A}](A, B) {} func _() { f := f2[byte] f(byte(0), []byte{}) f2(byte(0), []byte{}) } // Embedding stand-alone type parameters is not permitted for now. Disabled. // func f3[A any, B interface{~C}, C interface{~*A}](A, B, C) // func _() { // f := f3[int] // var x int // f(x, &x, &x) // f3(x, &x, &x) // }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 21:01:45 UTC 2023 - 2.3K bytes - Viewed (0) -
src/internal/types/testdata/examples/constraints.go
type ( // Tilde is not permitted on defined types or interfaces. foo int bar any _ interface{foo} _ interface{~ /* ERROR "invalid use of ~" */ foo } _ interface{~ /* ERROR "invalid use of ~" */ bar } ) // Stand-alone type parameters are not permitted as elements or terms in unions. type ( _[T interface{ *T } ] struct{} // ok _[T interface{ int | *T } ] struct{} // ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/CodeGeneratingSignatureTreeVisitor.java
CodeGeneratingSignatureTreeVisitor(CodeBlock.Builder result) { this.result = result; } /** * @param paramIndex index of the parameter in the signatures, -1 stands for the receiver */ void visit(SignatureTree current, int paramIndex) { CallInterceptionRequest leafInCurrent = current.getLeafOrNull(); if (leafInCurrent != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/enterprise/enterprise-logging/src/main/java/org/gradle/internal/logging/progress/ProgressLogger.java
* * @return the description, must not be empty. */ String getDescription(); /** * <p>Sets the description of the operation. This should be a full, stand-alone description of the operation. * * <p>This must be called before {@link #started()}. * * @param description The description. */ ProgressLogger setDescription(String description);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 17 10:17:11 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/resources/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializerTest/pom/junit-4.12.pom
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 23.1K bytes - Viewed (0)