- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,418 for gostringW (0.21 sec)
-
platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/NormalizingGroovyCompiler.java
} }); spec.setSourceFiles(ImmutableSet.copyOf(filtered)); } private void resolveNonStringsInCompilerArgs(GroovyJavaJointCompileSpec spec) { // in particular, this is about GStrings spec.getCompileOptions().setCompilerArgs(CollectionUtils.toStringList(spec.getCompileOptions().getCompilerArgs())); } private void logSourceFiles(GroovyJavaJointCompileSpec spec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
} } // api const greeting = "hello, world" type testPair struct { Name string Got, Want interface{} } var testPairs = []testPair{ {"GoString", C.GoString(C.greeting), greeting}, {"GoStringN", C.GoStringN(C.greeting, 5), greeting[:5]}, {"GoBytes", C.GoBytes(unsafe.Pointer(C.greeting), 5), []byte(greeting[:5])}, } func testHelpers(t *testing.T) { for _, pair := range testPairs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
// and used as the new base register and the offset field in the instruction // can be set to zero. // This same problem can happen with gostrings since the final offset is not // known yet, but could be unaligned after the relocation is resolved. // So gostrings are handled the same way. // This allows the MOVDload and MOVWload to be generated in more cases and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
test/fixedbugs/issue36705.go
// #include <stdlib.h> // #include <unistd.h> import "C" import "os" func main() { os.Setenv("FOO", "bar") s := C.GoString(C.getenv(C.CString("FOO"))) if s != "bar" { panic("bad setenv, environment variable only has value \"" + s + "\"") } os.Unsetenv("FOO") s = C.GoString(C.getenv(C.CString("FOO"))) if s != "" { panic("bad unsetenv, environment variable still has value \"" + s + "\"") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 649 bytes - Viewed (0) -
src/internal/syscall/unix/net_darwin.go
r1, _, _ := syscall_syscall(abi.FuncPCABI0(libc_gai_strerror_trampoline), uintptr(ecode), 0, 0) return GoString((*byte)(unsafe.Pointer(r1))) } // Implemented in the runtime package. func gostring(*byte) string func GoString(p *byte) string { return gostring(p) } //go:linkname syscall_syscall syscall.syscall func syscall_syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 28 13:41:21 UTC 2023 - 4.3K bytes - Viewed (0) -
src/fmt/print.go
// such as [Print]. type Stringer interface { String() string } // GoStringer is implemented by any value that has a GoString method, // which defines the Go syntax for that value. // The GoString method is used to print values passed as an operand // to a %#v format. type GoStringer interface { GoString() string } // FormatString returns a string representing the fully qualified formatting
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
assertTrue(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE); assertEquals("1.4", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND); assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE); restriction = restrictions.get(2); assertEquals("1.5", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 44.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiReceivingStandardStreamsCrossVersionSpec.groovy
build.run() } then: stdout.toString().contains('this is stdout') stdout.toString().contains('A warning using SLF4j') stdout.toString().contains('A warning using JCL') stdout.toString().contains('A warning using Log4j') stdout.toString().contains('A warning using JUL') if (targetVersion.baseVersion >= GradleVersion.version('4.7')) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/ConflictContainerTest.groovy
container.size == 1 container.popConflict().toString() == "b:1,2" } def "contains multiple conflicting elements"() { container.newElement("a", [1, 2], null) container.newElement("b", [3, 4], null) expect: container.size == 2 container.popConflict().toString() == "a:1,2" container.popConflict().toString() == "b:3,4" } def "pops conflicts orderly"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.1K bytes - Viewed (0) -
subprojects/diagnostics/src/test/groovy/org/gradle/api/reporting/components/internal/RendererUtilsTest.groovy
new NamedWithToString(name: null) | "toString():null" new NamedWithToString(name: "Lajos") | "toString():Lajos" } def "returns '#expected' when toString() returns #toStringReturns"() { def value = Mock(Object) when: def result = RendererUtils.displayValueOf(value) then: result == expected _ * value.toString() >> toStringReturns where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 2.6K bytes - Viewed (0)