Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 87 for original (1.66 sec)

  1. src/encoding/pem/pem.go

    // array. The line does not include trailing whitespace or the trailing new
    // line bytes. The remainder of the byte array (also not including the new line
    // bytes) is also returned and this will always be smaller than the original
    // argument.
    func getLine(data []byte) (line, rest []byte) {
    	i := bytes.IndexByte(data, '\n')
    	var j int
    	if i < 0 {
    		i = len(data)
    		j = i
    	} else {
    		j = i + 1
    		if i > 0 && data[i-1] == '\r' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/syscall/exec_bsd.go

    	}
    
    	// Set the controlling TTY to Ctty
    	if sys.Setctty {
    		_, _, err1 = RawSyscall(SYS_IOCTL, uintptr(sys.Ctty), uintptr(TIOCSCTTY), 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Restore original rlimit.
    	if rlim != nil {
    		RawSyscall(SYS_SETRLIMIT, uintptr(RLIMIT_NOFILE), uintptr(unsafe.Pointer(rlim)), 0)
    	}
    
    	// Time to exec.
    	_, _, err1 = RawSyscall(SYS_EXECVE,
    		uintptr(unsafe.Pointer(argv0)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/os/example_test.go

    		// Symlink targets are relative to the directory containing the link.
    		dstAbs = filepath.Join(filepath.Dir(linkPath), dst)
    	}
    
    	// Check that the target is correct by comparing it with os.Stat
    	// on the original target path.
    	dstInfo, err := os.Stat(dstAbs)
    	if err != nil {
    		log.Fatal(err)
    	}
    	targetInfo, err := os.Stat(targetPath)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if !os.SameFile(dstInfo, targetInfo) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/os/signal/signal.go

    }
    
    func (h *handler) clear(sig int) {
    	h.mask[sig/32] &^= 1 << uint(sig&31)
    }
    
    // Stop relaying the signals, sigs, to any channels previously registered to
    // receive them and either reset the signal handlers to their original values
    // (action=disableSignal) or ignore the signals (action=ignoreSignal).
    func cancel(sigs []os.Signal, action func(int)) {
    	handlers.Lock()
    	defer handlers.Unlock()
    
    	remove := func(n int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ir/type.go

    	//
    	// BUG(mdempsky): If ITab is non-nil, RType may be nil.
    	RType Node
    
    	// ITab is an expression that yields a *runtime.itab value
    	// representing the asserted type within the assertee expression's
    	// original interface type.
    	//
    	// ITab is only used for assertions (including type switches) from
    	// non-empty interface type to a concrete (i.e., non-interface)
    	// type. For all other assertions, ITab is nil.
    	ITab Node
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 20 05:56:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. src/crypto/des/block.go

    		left := (last << (4 + ksRotations[i])) >> 4
    		right := (last << 4) >> (32 - ksRotations[i])
    		out[i] = left | right
    		last = out[i]
    	}
    	return
    }
    
    // creates 16 56-bit subkeys from the original key.
    func (c *desCipher) generateSubkeys(keyBytes []byte) {
    	feistelBoxOnce.Do(initFeistelBox)
    
    	// apply PC1 permutation to key
    	key := byteorder.BeUint64(keyBytes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. test/typeparam/graph.go

    	m1, ok := zork[e.from]
    	if !ok {
    		panic("bad edge")
    	}
    	m2, ok := zork[e.to]
    	if !ok {
    		panic("bad edge")
    	}
    	return m1, m2
    }
    
    // The first maze in Zork. Room indexes based on original Fortran data file.
    // You are in a maze of twisty little passages, all alike.
    var zork = map[int]mazeRoom{
    	11: {exits: [10]int{north: 11, south: 12, east: 14}}, // west to Troll Room
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/constdecl.go

    }
    
    // Test cases for errors in inherited constant initialization expressions.
    // Errors related to inherited initialization expressions must appear at
    // the constant identifier being declared, not at the original expression
    // (issues #42991, #42992).
    const (
    	_ byte = 255 + iota
    	/* some gap */
    	_ // ERROR "overflows"
    	/* some gap */
    	/* some gap */ _ /* ERROR "overflows" */; _ /* ERROR "overflows" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/math/cmplx/pow.go

    // license that can be found in the LICENSE file.
    
    package cmplx
    
    import "math"
    
    // The original C code, the long comment, and the constants
    // below are from http://netlib.sandia.gov/cephes/c9x-complex/clog.c.
    // The go code is a simplified version of the original C.
    //
    // Cephes Math Library Release 2.8:  June, 2000
    // Copyright 1984, 1987, 1989, 1992, 2000 by Stephen L. Moshier
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/io/fs/fs.go

    	Type() FileMode
    
    	// Info returns the FileInfo for the file or subdirectory described by the entry.
    	// The returned FileInfo may be from the time of the original directory read
    	// or from the time of the call to Info. If the file has been removed or renamed
    	// since the directory read, Info may return an error satisfying errors.Is(err, ErrNotExist).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top