Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for locate (0.16 sec)

  1. misc/go_android_exec/main.go

    	out, err = cmd.Output()
    	if err != nil {
    		return fmt.Errorf("%v: %w", cmd, err)
    	}
    	platformBin := filepath.Dir(string(bytes.TrimSpace(out)))
    	if platformBin == "." {
    		return errors.New("failed to locate cmd/go for target platform")
    	}
    	if err := adb("push", platformBin, path.Join(deviceGoroot, "bin")); err != nil {
    		return err
    	}
    
    	// Copy only the relevant subdirectories from pkg: pkg/include and the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. src/arena/arena.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build goexperiment.arenas
    
    /*
    The arena package provides the ability to allocate memory for a collection
    of Go values and free that space manually all at once, safely. The purpose
    of this functionality is to improve efficiency: manually freeing memory
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback_c_gc.c

    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void crosscall2(void (*fn)(void *, int), void *, int);
    extern void _cgo_panic(void *, int);
    extern void _cgo_allocate(void *, int);
    
    void
    callPanic(void)
    {
    	struct { const char *p; } a;
    	a.p = "panic from C";
    	crosscall2(_cgo_panic, &a, sizeof a);
    	*(int*)1 = 1;
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 592 bytes
    - Viewed (0)
  4. api/go1.3.txt

    pkg syscall (netbsd-386), const MAP_INHERIT_DEFAULT = 1
    pkg syscall (netbsd-386), const MAP_INHERIT_DEFAULT ideal-int
    pkg syscall (netbsd-386), const MAP_INHERIT_DONATE_COPY = 3
    pkg syscall (netbsd-386), const MAP_INHERIT_DONATE_COPY ideal-int
    pkg syscall (netbsd-386), const MAP_INHERIT_NONE = 2
    pkg syscall (netbsd-386), const MAP_INHERIT_NONE ideal-int
    pkg syscall (netbsd-386), const MAP_INHERIT_SHARE = 0
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg log/syslog (netbsd-arm64), const LOG_LOCAL4 Priority
    pkg log/syslog (netbsd-arm64), const LOG_LOCAL5 = 168
    pkg log/syslog (netbsd-arm64), const LOG_LOCAL5 Priority
    pkg log/syslog (netbsd-arm64), const LOG_LOCAL6 = 176
    pkg log/syslog (netbsd-arm64), const LOG_LOCAL6 Priority
    pkg log/syslog (netbsd-arm64), const LOG_LOCAL7 = 184
    pkg log/syslog (netbsd-arm64), const LOG_LOCAL7 Priority
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    //go:cgo_import_static <local>
    
    	In external linking mode, allow unresolved references to
    	<local> in the go.o object file prepared for the host linker,
    	under the assumption that <local> will be supplied by the
    	other object files that will be linked with go.o.
    
    	Example:
    	//go:cgo_import_static puts_wrapper
    
    //go:cgo_export_static <local> <remote>
    
    	In external linking mode, put the Go symbol
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestCVE202133196(t *testing.T) {
    	// Archive that indicates it has 1 << 128 -1 files,
    	// this would previously cause a panic due to attempting
    	// to allocate a slice with 1 << 128 -1 elements.
    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x08,
    		0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. misc/ios/go_ios_exec.go

    		if err != nil {
    			return nil, err
    		}
    		if tok, ok := tok.(xml.StartElement); ok {
    			if tok.Name.Local == "key" {
    				if err := d.DecodeElement(&key, &tok); err != nil {
    					return nil, err
    				}
    				hasKey = true
    			} else if hasKey {
    				var val string
    				var err error
    				switch n := tok.Name.Local; n {
    				case "true", "false":
    					// Bools are represented as <true/> and <false/>.
    					val = n
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback_c_gccgo.c

    //go:build gccgo
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void _cgo_panic(const char *);
    extern void *_cgo_allocate(size_t);
    
    void
    callPanic(void)
    {
    	_cgo_panic("panic from C");
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 452 bytes
    - Viewed (0)
  10. api/go1.16.txt

    pkg log/syslog (darwin-arm64), const LOG_LOCAL4 Priority
    pkg log/syslog (darwin-arm64), const LOG_LOCAL5 = 168
    pkg log/syslog (darwin-arm64), const LOG_LOCAL5 Priority
    pkg log/syslog (darwin-arm64), const LOG_LOCAL6 = 176
    pkg log/syslog (darwin-arm64), const LOG_LOCAL6 Priority
    pkg log/syslog (darwin-arm64), const LOG_LOCAL7 = 184
    pkg log/syslog (darwin-arm64), const LOG_LOCAL7 Priority
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
Back to top