Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for upsert (0.26 sec)

  1. src/cmd/cgo/godefs.go

    // AST expression onto a single line. The lexer normally inserts a
    // semicolon at each newline, so we can replace newline with semicolon.
    // However, we can't do that in cases where the lexer would not insert
    // a semicolon. We only have to worry about cases that can occur in an
    // expression passed through gofmt, which means composite literals and
    // (due to the printer possibly inserting newlines because of position
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. src/archive/tar/format.go

    //	string encoding   |  ASCII |     UTF-8 |    binary
    //	sub-second times  |     no |       yes |        no
    //	sparse files      |     no |       yes |       yes
    //
    // The table's upper portion shows the [Header] fields, where each format reports
    // the maximum number of bytes allowed for each string field and
    // the integer type used to store each numeric field
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    // the file it describes, it may be necessary to modify the Name field
    // of the returned header to provide the full path name of the file.
    // If compression is desired, callers should set the FileHeader.Method
    // field; it is unset by default.
    func FileInfoHeader(fi fs.FileInfo) (*FileHeader, error) {
    	size := fi.Size()
    	fh := &FileHeader{
    		Name:               fi.Name(),
    		UncompressedSize64: uint64(size),
    	}
    	fh.SetModTime(fi.ModTime())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. misc/ios/detect.go

    		_, err = f.Write(out)
    		check(err)
    		check(f.Close())
    
    		cert, err := plistExtract(fname, "DeveloperCertificates:0")
    		check(err)
    		pcert, err := x509.ParseCertificate(cert)
    		check(err)
    		fmt.Printf("export GOIOS_DEV_ID=\"%s\"\n", pcert.Subject.CommonName)
    
    		appID, err := plistExtract(fname, "Entitlements:application-identifier")
    		check(err)
    		fmt.Printf("export GOIOS_APP_ID=%s\n", appID)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    The cgo tool is enabled by default for native builds on systems where
    it is expected to work. It is disabled by default when cross-compiling
    as well as when the CC environment variable is unset and the default
    C compiler (typically gcc or clang) cannot be found on the system PATH.
    You can override the default by setting the CGO_ENABLED
    environment variable when running the go tool: set it to 1 to enable
    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)
  6. src/cmd/cgo/gcc.go

    		// don't want to resolve them to their base types.
    		if *godefs {
    			break
    		}
    	}
    	p.prepareNames(f)
    	if p.rewriteCalls(f) {
    		// Add `import _cgo_unsafe "unsafe"` after the package statement.
    		f.Edit.Insert(f.offset(f.AST.Name.End()), "; import _cgo_unsafe \"unsafe\"")
    	}
    	p.rewriteRef(f)
    }
    
    // loadDefines coerces gcc into spitting out the #defines in use
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    		*targetAddr = *target
    		targetAddr.Type = obj.TYPE_INDIR
    	case target.Type == obj.TYPE_MEM && target.Reg == 0 && target.Offset == 0:
    		// JMP exit
    		if target.Sym == nil {
    			// Parse error left name unset.
    			return
    		}
    		targetProg := p.labels[target.Sym.Name]
    		if targetProg == nil {
    			p.toPatch = append(p.toPatch, Patch{targetAddr, target.Sym.Name})
    		} else {
    			p.branch(targetAddr, targetProg)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    		gorootPath = runtime.GOROOT()
    		if gorootPath != "" {
    			return
    		}
    
    		// runtime.GOROOT is empty — perhaps go_android_exec was built with
    		// -trimpath and GOROOT is unset. Try 'go env GOROOT' as a fallback,
    		// assuming that the 'go' command in $PATH is the correct one.
    
    		cmd := exec.Command("go", "env", "GOROOT")
    		cmd.Stderr = os.Stderr
    		out, err := cmd.Output()
    		if err != nil {
    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)
Back to top