Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 126 for original (0.22 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/asm/internal/lex/lex.go

    // The underlying scanner elides all spaces except newline, so the input looks like a stream of
    // Tokens; original spacing is lost but we don't need it.
    type TokenReader interface {
    	// Next returns the next token.
    	Next() ScanToken
    	// The following methods all refer to the most recent token returned by Next.
    	// Text returns the original string representation of the token.
    	Text() string
    	// File reports the source file name of the token.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. src/net/http/responsecontroller.go

    type ResponseController struct {
    	rw ResponseWriter
    }
    
    // NewResponseController creates a [ResponseController] for a request.
    //
    // The ResponseWriter should be the original value passed to the [Handler.ServeHTTP] method,
    // or have an Unwrap method returning the original ResponseWriter.
    //
    // If the ResponseWriter implements any of the following methods, the ResponseController
    // will call them as appropriate:
    //
    //	Flush()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue57522.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // A simplified version of the code in the original report.
    type S[T any] struct{}
    var V = S[any]{}
    func (fs *S[T]) M(V.M /* ERROR "V.M is not a type" */) {}
    
    // Other minimal reproducers.
    type S1[T any] V1.M /* ERROR "V1.M is not a type" */
    type V1 = S1[any]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 11 22:29:34 UTC 2023
    - 728 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go

    // go1.21 and earlier are no longer supported by x/tools.
    
    package versions
    
    import "strings"
    
    // A gover is a parsed Go gover: major[.Minor[.Patch]][kind[pre]]
    // The numbers are the original decimal strings to avoid integer overflows
    // and since there is very little actual math. (Probably overflow doesn't matter in practice,
    // but at the time this code was written, there was an existing test that used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/typeparam.go

    	}
    
    	// compute type set if necessary
    	if ityp.tset == nil {
    		// pos is used for tracing output; start with the type parameter position.
    		pos := t.obj.pos
    		// use the (original or possibly instantiated) type bound position if we have one
    		if n := asNamed(bound); n != nil {
    			pos = n.obj.pos
    		}
    		computeInterfaceTypeSet(t.check, pos, ityp)
    	}
    
    	return ityp
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/go/types/errors.go

    		// constant initialization expression, pos is the position of
    		// the original expression, and not of the currently declared
    		// constant identifier. Use the provided errpos instead.
    		// TODO(gri) We may also want to augment the error message and
    		// refer to the position (pos) in the original expression.
    		if check.errpos != nil && check.errpos.Pos().IsValid() {
    			assert(check.iota != nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/hash/crc32/gen_const_ppc64le.go

    // <******@****.***> found at https://github.com/antonblanchard/crc32-vpmsum.
    // The original is dual licensed under GPL and Apache 2.  As the copyright holder
    // for the work, IBM has contributed this new work under the golang license.
    
    // This code was written in Go based on the original C implementation.
    
    // This is a tool needed to generate the appropriate constants needed for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:44:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/math/exp.go

    func Exp(x float64) float64 {
    	if haveArchExp {
    		return archExp(x)
    	}
    	return exp(x)
    }
    
    // The original C code, the long comment, and the constants
    // below are from FreeBSD's /usr/src/lib/msun/src/e_exp.c
    // and came with this notice. The go code is a simplified
    // version of the original C.
    //
    // ====================================================
    // Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. src/go/printer/example_test.go

    	// file set fset.
    	funcAST, fset := parseFunc("example_test.go", "printSelf")
    
    	// Print the function body into buffer buf.
    	// The file set is provided to the printer so that it knows
    	// about the original source formatting and can add additional
    	// line breaks where they were present in the source.
    	var buf bytes.Buffer
    	printer.Fprint(&buf, fset, funcAST.Body)
    
    	// Remove braces {} enclosing the function body, unindent,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:55:02 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top