Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,418 for gostringw (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. test/fixedbugs/issue65808.go

    type (
    	stringer  struct{}
    	stringers [2]stringer
    	foo       struct {
    		stringers
    	}
    )
    
    func (stringer) String() string  { return "" }
    func toString(s Stringer) string { return s.String() }
    
    func (v stringers) toStrings() []string {
    	return []string{toString(v[0]), toString(v[1])}
    }
    
    func main() {
    	_ = stringers{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 02 14:01:52 UTC 2024
    - 562 bytes
    - Viewed (0)
  6. api/go1.10.txt

    pkg debug/macho, method (RelocTypeARM) GoString() string
    pkg debug/macho, method (RelocTypeARM) String() string
    pkg debug/macho, method (RelocTypeARM64) GoString() string
    pkg debug/macho, method (RelocTypeARM64) String() string
    pkg debug/macho, method (RelocTypeGeneric) GoString() string
    pkg debug/macho, method (RelocTypeGeneric) String() string
    pkg debug/macho, method (RelocTypeX86_64) GoString() string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/out.go

    typedef struct { const char *p; intgo n; } _GoString_;
    typedef struct { char *p; intgo n; intgo c; } _GoBytes_;
    _GoString_ GoString(char *p);
    _GoString_ GoStringN(char *p, int l);
    _GoBytes_ GoBytes(void *p, int n);
    char *CString(_GoString_);
    void *CBytes(_GoBytes_);
    void *_CMalloc(size_t);
    
    __attribute__ ((unused))
    static size_t _GoStringLen(_GoString_ s) { return (size_t)s.n; }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  8. api/go1.6.txt

    pkg debug/elf, const SHF_COMPRESSED = 2048
    pkg debug/elf, const SHF_COMPRESSED SectionFlag
    pkg debug/elf, method (CompressionType) GoString() string
    pkg debug/elf, method (CompressionType) String() string
    pkg debug/elf, method (R_MIPS) GoString() string
    pkg debug/elf, method (R_MIPS) String() string
    pkg debug/elf, type Chdr32 struct
    pkg debug/elf, type Chdr32 struct, Addralign uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	}
    	return t
    }
    
    func (t *Trinary) GoString() string {
    	return t.goString(0, "")
    }
    
    func (t *Trinary) goString(indent int, field string) string {
    	return fmt.Sprintf("%*s%sTrinary:\n%s\n%s\n%s\n%s", indent, "", field,
    		t.Op.goString(indent+2, "Op: "),
    		t.First.goString(indent+2, "First: "),
    		t.Second.goString(indent+2, "Second: "),
    		t.Third.goString(indent+2, "Third: "))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  10. 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)
Back to top