Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of about 10,000 for Tstring (0.12 sec)

  1. 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)
  2. src/runtime/env_posix.go

    // Update the C environment if cgo is loaded.
    func setenv_c(k string, v string) {
    	if _cgo_setenv == nil {
    		return
    	}
    	arg := [2]unsafe.Pointer{cstring(k), cstring(v)}
    	asmcgocall(_cgo_setenv, unsafe.Pointer(&arg))
    }
    
    // Update the C environment if cgo is loaded.
    func unsetenv_c(k string) {
    	if _cgo_unsetenv == nil {
    		return
    	}
    	arg := [1]unsafe.Pointer{cstring(k)}
    	asmcgocall(_cgo_unsetenv, unsafe.Pointer(&arg))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/asan_linkerx/main.go

    func pstring(s *string) {
    	println(*s)
    }
    
    func main() {
    	all := []*string{
    		&S1, &S2, &S3, &S4, &S5, &S6, &S7, &S8, &S9, &S10,
    		&p.S1, &p.S2, &p.S3, &p.S4, &p.S5, &p.S6, &p.S7, &p.S8, &p.S9, &p.S10,
    	}
    	for _, ps := range all {
    		pstring(ps)
    	}
    }
    
    var S1 string
    var S2 string
    var S3 string
    var S4 string
    var S5 string
    var S6 string
    var S7 string
    var S8 string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 471 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/kotlinDsl/containers-string-invoke/tests/string-invoke.sample.conf

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 30 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    }
    
    // StringData returns a symbol which
    // is the data component of a global string constant containing s.
    func (e *ssafn) StringData(s string) *obj.LSym {
    	if aux, ok := e.strings[s]; ok {
    		return aux
    	}
    	if e.strings == nil {
    		e.strings = make(map[string]*obj.LSym)
    	}
    	data := staticdata.StringSym(e.curfn.Pos(), s)
    	e.strings[s] = data
    	return data
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go

    func Acct(path string) (err error) {
    	_p0 := uintptr(unsafe.Pointer(C.CString(path)))
    	r0, er := C.acct(C.uintptr_t(_p0))
    	if r0 == -1 && er != nil {
    		err = er
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Chdir(path string) (err error) {
    	_p0 := uintptr(unsafe.Pointer(C.CString(path)))
    	r0, er := C.chdir(C.uintptr_t(_p0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  7. istioctl/pkg/internaldebug/internal-debug.go

    	writer io.Writer,
    	istioNamespace string,
    	xdsResponses map[string]*discovery.DiscoveryResponse,
    ) (map[string]*discovery.DiscoveryResponse, error) {
    	for _, response := range xdsResponses {
    		for _, resource := range response.Resources {
    			eString := string(resource.Value)
    			switch {
    			case strings.Contains(eString, "You must provide a proxyID in the query string"):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/NestedValidationUtil.java

                return Optional.of("Type is in 'kotlin.*' package that is reserved for Kotlin stdlib types");
            } else if (type.getName().startsWith("groovy.lang.GString")) {
                return Optional.of("Groovy's GString type is not supported as a nested type");
            } else {
                return Optional.empty();
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/debug/pe/section.go

    // in sh.Name, but if it is longer then 8 characters, it is stored
    // in COFF string table st instead.
    func (sh *SectionHeader32) fullName(st StringTable) (string, error) {
    	if sh.Name[0] != '/' {
    		return cstring(sh.Name[:]), nil
    	}
    	i, err := strconv.Atoi(cstring(sh.Name[1:]))
    	if err != nil {
    		return "", err
    	}
    	return st.String(uint32(i))
    }
    
    // TODO(brainman): copy all IMAGE_REL_* consts from ldpe.go here
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/testing/quick/quick_test.go

    type TestSliceAlias []byte
    
    func fSliceAlias(a TestSliceAlias) TestSliceAlias { return a }
    
    func fString(a string) string { return a }
    
    type TestStringAlias string
    
    func fStringAlias(a TestStringAlias) TestStringAlias { return a }
    
    type TestStruct struct {
    	A int
    	B string
    }
    
    func fStruct(a TestStruct) TestStruct { return a }
    
    type TestStructAlias TestStruct
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 9K bytes
    - Viewed (0)
Back to top