Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for curI (0.25 sec)

  1. src/cmd/cgo/internal/test/issue18146.go

    	case "linux":
    		nproc = 6
    	case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd":
    		nproc = 7
    	}
    	if setNproc {
    		var rlim syscall.Rlimit
    		if syscall.Getrlimit(nproc, &rlim) == nil {
    			max := int(rlim.Cur) / (threads + 5)
    			if attempts > max {
    				t.Logf("lowering attempts from %d to %d for RLIMIT_NPROC", attempts, max)
    				attempts = max
    			}
    		}
    	}
    
    	if os.Getenv("test18146") == "exec" {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type RawSockaddrUnix struct, Path [104]int8
    pkg syscall (netbsd-arm64-cgo), type Rlimit struct
    pkg syscall (netbsd-arm64-cgo), type Rlimit struct, Cur uint64
    pkg syscall (netbsd-arm64-cgo), type Rlimit struct, Max uint64
    pkg syscall (netbsd-arm64-cgo), type RouteMessage struct
    pkg syscall (netbsd-arm64-cgo), type RouteMessage struct, Data []uint8
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    	/*
    		// Write the sparse map and setup the sparse writer if necessary.
    		if len(spd) > 0 {
    			// Use tw.curr since the sparse map is accounted for in hdr.Size.
    			if _, err := tw.curr.Write(spb); err != nil {
    				return err
    			}
    			tw.curr = &sparseFileWriter{tw.curr, spd, 0}
    		}
    	*/
    	return nil
    }
    
    func (tw *Writer) writeGNUHeader(hdr *Header) error {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg os, const ModeSymlink = 134217728
    pkg os, const ModeTemporary = 268435456
    pkg os, const ModeType = 2399141888
    pkg os, const O_RDONLY = 0
    pkg os, const O_RDWR = 2
    pkg os, const O_WRONLY = 1
    pkg os, const SEEK_CUR = 1
    pkg os, const SEEK_END = 2
    pkg os, const SEEK_SET = 0
    pkg os, method (FileMode) IsRegular() bool
    pkg os/signal, func Stop(chan<- os.Signal)
    pkg path/filepath (darwin-386), const ListSeparator = 58
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  5. lib/time/update.bash

    DATA=2024a
    
    set -e
    
    cd $(dirname $0)
    rm -rf work
    mkdir work
    go build -o work/mkzip mkzip.go # build now for correct paths in build errors
    cd work
    mkdir zoneinfo
    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz
    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
    tar xzf tzcode$CODE.tar.gz
    tar xzf tzdata$DATA.tar.gz
    
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    		return false
    	}
    	var pre sparseEntry
    	for _, cur := range sp {
    		switch {
    		case cur.Offset < 0 || cur.Length < 0:
    			return false // Negative values are never okay
    		case cur.Offset > math.MaxInt64-cur.Length:
    			return false // Integer overflow with large length
    		case cur.endOffset() > size:
    			return false // Region extends beyond the actual size
    		case pre.endOffset() > cur.Offset:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  7. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), type RawSockaddrUnix struct, Path [104]int8
    pkg syscall (freebsd-386-cgo), type Rlimit struct
    pkg syscall (freebsd-386-cgo), type Rlimit struct, Cur int64
    pkg syscall (freebsd-386-cgo), type Rlimit struct, Max int64
    pkg syscall (freebsd-386-cgo), type RouteMessage struct
    pkg syscall (freebsd-386-cgo), type RouteMessage struct, Data []uint8
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  8. src/archive/tar/reader_test.go

    			}
    			return spd
    		}(),
    	}}
    
    	for i, v := range vectors {
    		var hdr Header
    		hdr.PAXRecords = v.inputHdrs
    		r := strings.NewReader(v.inputData + "#") // Add canary byte
    		tr := Reader{curr: &regFileReader{r, int64(r.Len())}}
    		got, err := tr.readGNUSparsePAXHeaders(&hdr)
    		if !equalSparseEntries(got, v.wantMap) {
    			t.Errorf("test %d, readGNUSparsePAXHeaders(): got %v, want %v", i, got, v.wantMap)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg os, const O_RDWR int
    pkg os, const O_SYNC int
    pkg os, const O_TRUNC int
    pkg os, const O_WRONLY int
    pkg os, const PathListSeparator ideal-char
    pkg os, const PathSeparator ideal-char
    pkg os, const SEEK_CUR int
    pkg os, const SEEK_END int
    pkg os, const SEEK_SET int
    pkg os, func Chdir(string) error
    pkg os, func Chmod(string, FileMode) error
    pkg os, func Chown(string, int, int) error
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  10. api/go1.16.txt

    pkg net/http/httputil, type ServerConn //deprecated
    pkg net/http/httputil, var ErrClosed //deprecated
    pkg net/http/httputil, var ErrPersistEOF //deprecated
    pkg net/http/httputil, var ErrPipeline //deprecated
    pkg os, const SEEK_CUR //deprecated
    pkg os, const SEEK_END //deprecated
    pkg os, const SEEK_SET //deprecated
    pkg path/filepath, func HasPrefix //deprecated
    pkg regexp, method (*Regexp) Copy //deprecated
    pkg runtime, func CPUProfile //deprecated
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
Back to top