- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,241 for gostringw (0.2 sec)
-
test/fixedbugs/issue44739.go
func g(a T) { // test load of unaligned // 8 byte gostring, store // to unaligned static copy(a.y[:], gostring2) } func main() { var t1, t2 T // test copy to automatic storage, // load of unaligned gostring. copy(st.y[:], gostring2) copy(t1.y[:], st.y[:]) copy(t2.y[:], gostring3) // test initialization of params if !f(t1, 'a', t2) { // gostring1 added so it has a use fmt.Printf("FAIL: %s\n", gostring1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 10 19:33:23 UTC 2021 - 1.1K bytes - Viewed (0) -
test/gcstring.go
Emmanuel Odeke <******@****.***> 1460323946 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 872 bytes - Viewed (0) -
src/debug/macho/reloctype.go
GENERIC_RELOC_PB_LA_PTR RelocTypeGeneric = 3 GENERIC_RELOC_LOCAL_SECTDIFF RelocTypeGeneric = 4 GENERIC_RELOC_TLV RelocTypeGeneric = 5 ) func (r RelocTypeGeneric) GoString() string { return "macho." + r.String() } type RelocTypeX86_64 int const ( X86_64_RELOC_UNSIGNED RelocTypeX86_64 = 0 X86_64_RELOC_SIGNED RelocTypeX86_64 = 1 X86_64_RELOC_BRANCH RelocTypeX86_64 = 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 18:45:40 UTC 2017 - 2.4K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/deadlock.go
import ( "fmt" ) func init() { register("CgoPanicDeadlock", CgoPanicDeadlock) } type cgoError struct{} func (cgoError) Error() string { fmt.Print("") // necessary to trigger the deadlock return C.GoString(C.geterror()) } func CgoPanicDeadlock() { panic(cgoError{})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:34:33 UTC 2016 - 509 bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/testdata/issue50710.go
// Copyright 2022 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 main // size_t StrLen(_GoString_ s) { // return _GoStringLen(s); // } import "C" func main() { C.StrLen1() // ERROR HERE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 295 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/formatting.go
fcfmt "k8s.io/apiserver/pkg/util/flowcontrol/format" ) var _ fmt.GoStringer = RequestDigest{} // GoString produces a golang source expression of the value. func (rd RequestDigest) GoString() string { return fmt.Sprintf("RequestDigest{RequestInfo: %#+v, User: %#+v}", rd.RequestInfo, rd.User) } var _ fmt.GoStringer = (*priorityLevelState)(nil) // GoString produces a golang source expression of the value.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 11 03:54:40 UTC 2020 - 1.3K bytes - Viewed (0) -
src/os/user/cgo_lookup_syscall.go
func _C_gr_gid(g *_C_struct_group) _C_gid_t { return g.Gid } func _C_gr_name(g *_C_struct_group) *_C_char { return g.Name } func _C_GoString(p *_C_char) string { return unix.GoString(p) } func _C_getpwnam_r(name *_C_char, buf *_C_char, size _C_size_t) (pwd _C_struct_passwd, found bool, errno syscall.Errno) { var result *_C_struct_passwd errno = unix.Getpwnam(name, &pwd, buf, size, &result)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 04:31:34 UTC 2022 - 2.2K bytes - Viewed (0) -
src/fmt/gostringer_example_test.go
} // Person has a Name, Age and Address. type Person struct { Name string Age uint Addr *Address } // GoString makes Person satisfy the GoStringer interface. // The return value is valid Go code that can be used to reproduce the Person struct. func (p Person) GoString() string { if p.Addr != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 06 04:25:17 UTC 2018 - 1.5K bytes - Viewed (0) -
test/fixedbugs/issue65808.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 02 14:01:52 UTC 2024 - 562 bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/NormalizingScalaCompiler.java
LOGGER.debug("Class path: {}", spec.getCompileClasspath()); } } private void resolveNonStringsInCompilerArgs(ScalaJavaJointCompileSpec spec) { // in particular, this is about GStrings spec.getCompileOptions().setCompilerArgs(CollectionUtils.toStringList(spec.getCompileOptions().getCompilerArgs())); } private void logSourceFiles(ScalaJavaJointCompileSpec spec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 4.1K bytes - Viewed (0)