Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 87 for original (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/ssa/regalloc_test.go

    		),
    	)
    	flagalloc(f.f)
    	regalloc(f.f)
    	checkFunc(f.f)
    }
    
    // Test to make sure G register is never reloaded from spill (spill of G is okay)
    // See #25504
    func TestNoGetgLoadReg(t *testing.T) {
    	/*
    		Original:
    		func fff3(i int) *g {
    			gee := getg()
    			if i == 0 {
    				fff()
    			}
    			return gee // here
    		}
    	*/
    	c := testConfigARM64(t)
    	f := c.Fun("b1",
    		Bloc("b1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. src/math/log1p.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, the long comment, and the constants
    // below are from FreeBSD's /usr/src/lib/msun/src/s_log1p.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: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. test/alias2.go

    func (A0) m1()  {} // ERROR "T0\.m1 already declared|redefinition of .m1."
    func (A0) m2()  {}
    
    // Type aliases and the original type name can be used interchangeably.
    var _ A0 = T0{}
    var _ T0 = A0{}
    
    // But aliases and original types cannot be used with new types based on them.
    var _ N0 = T0{} // ERROR "cannot use T0{} \(value of type T0\) as N0 value in variable declaration"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:09:14 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top