Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 462 for original (0.16 sec)

  1. src/os/exec/exec_posix_test.go

    	// PWD to the other, the subprocess should report the PWD version.
    	cases := []struct {
    		name string
    		dir  string
    		pwd  string
    	}{
    		{name: "original PWD", pwd: cwd},
    		{name: "link PWD", pwd: link},
    		{name: "in link with original PWD", dir: link, pwd: cwd},
    		{name: "in dir with link PWD", dir: cwd, pwd: link},
    		// Ideally we would also like to test what happens if we set PWD to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/list_std_vendor.txt

    cd $GOROOT/src
    
    go list -deps net
    stdout '^vendor/golang.org/x/net'
    ! stdout '^golang.org/x/net'
    cmp stdout $WORK/net-deps.txt
    
    
    # However, 'go mod' and 'go get' subcommands should report the original module
    # dependencies, not the vendored packages.
    
    [!net:golang.org] stop
    
    env GOPROXY=
    env GOWORK=off
    go mod why -m golang.org/x/net
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 883 bytes
    - Viewed (0)
  3. src/internal/poll/sendfile_windows.go

    		// Find the number of bytes offset from curpos until the end of the file.
    		n, err = syscall.Seek(o.handle, -curpos, io.SeekEnd)
    		if err != nil {
    			return
    		}
    		// Now seek back to the original position.
    		if _, err = syscall.Seek(o.handle, curpos, io.SeekStart); err != nil {
    			return
    		}
    	}
    
    	// TransmitFile can be invoked in one call with at most
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. test/typeparam/issue58513.go

    // function literals to plumb sub-dictionaries appropriately.
    // However, when these expressions are inlined, we were constructing
    // the function literal bodies with the inline-adjusted positions
    // instead of the original (inline-free) positions, which could lead
    // to infinite loops when unwinding the stack.
    
    package main
    
    import "runtime"
    
    func assert[_ any]() {
    	panic(0)
    }
    
    func Assert[To any]() func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 23:07:49 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/math/sqrt.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    // The original C code and the long comment below are
    // from FreeBSD's /usr/src/lib/msun/src/e_sqrt.c and
    // came with this notice. The go code is a simplified
    // version of the original C.
    //
    // ====================================================
    // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 15 17:07:57 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. src/regexp/syntax/make_perl_groups.pl

    	"[:upper:]",
    	"[:word:]",
    	"[:xdigit:]",
    );
    
    my @perlclasses = (
    	"\\d",
    	"\\s",
    	"\\w",
    );
    
    my %overrides = (
    	# Prior to Perl 5.18, \s did not match vertical tab.
    	# RE2 preserves that original behaviour.
    	"\\s:11" => 0,
    );
    
    sub ComputeClass($) {
      my @ranges;
      my ($class) = @_;
      my $regexp = "[$class]";
      my $start = -1;
      for (my $i=0; $i<=129; $i++) {
        if ($i == 129) { $i = 256; }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/image/image.go

    	s[0] = c.R
    	s[1] = c.G
    	s[2] = c.B
    	s[3] = c.A
    }
    
    // SubImage returns an image representing the portion of the image p visible
    // through r. The returned value shares pixels with the original image.
    func (p *RGBA) SubImage(r Rectangle) Image {
    	r = r.Intersect(p.Rect)
    	// If r1 and r2 are Rectangles, r1.Intersect(r2) is not guaranteed to be inside
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  8. src/crypto/ecdsa/boring.go

    // a particular key is never again modified, but that has not been a
    // stated assumption before. Just in case there is any existing code that
    // does modify the key between operations, we save the original values
    // alongside the cached BoringCrypto key and check that the real key
    // still matches before using the cached key. The theory is that the real
    // operations are significantly more expensive than the comparison.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    //
    // For example, for each raw cgo source file in the original package,
    // such as this one:
    //
    //	package p
    //	import "C"
    //	import "fmt"
    //	type T int
    //	const k = 3
    //	var x, y = fmt.Println()
    //	func f() { ... }
    //	func g() { ... C.malloc(k) ... }
    //	func (T) f(int) string { ... }
    //
    // we synthesize a new ast.File, shown below, that dot-imports the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/syscall/wtf8_windows.go

    // is that the conversion is lossless even for ill-formed UTF-16 strings.
    // This property allows to read an ill-formed UTF-16 string, convert it
    // to a Go string, and convert it back to the same original UTF-16 string.
    //
    // See go.dev/issues/59971 for more info.
    
    package syscall
    
    import (
    	"unicode/utf16"
    	"unicode/utf8"
    )
    
    const (
    	surr1 = 0xd800
    	surr2 = 0xdc00
    	surr3 = 0xe000
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 09:26:16 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top