Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for origin (0.17 sec)

  1. doc/go1.17_spec.html

    </p>
    <pre>
    type Point3D struct { x, y, z float64 }
    type Line struct { p, q Point3D }
    </pre>
    
    <p>
    one may write
    </p>
    
    <pre>
    origin := Point3D{}                            // zero value for Point3D
    line := Line{origin, Point3D{y: -4, z: 12.3}}  // zero value for line.q.x
    </pre>
    
    <p>
    For array and slice literals the following rules apply:
    </p>
    <ul>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/asm.html

    <p>
    All user-defined symbols are written as offsets to the pseudo-registers
    <code>FP</code> (arguments and locals) and <code>SB</code> (globals).
    </p>
    
    <p>
    The <code>SB</code> pseudo-register can be thought of as the origin of memory, so the symbol <code>foo(SB)</code>
    is the name <code>foo</code> as an address in memory.
    This form is used to name global functions and data.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/cgotest/overlaydir.go

    			if err != nil {
    				return err
    			}
    			perm = info.Mode() & os.ModePerm
    		}
    
    		// Always copy directories (don't symlink them).
    		// If we add a file in the overlay, we don't want to add it in the original.
    		if info.IsDir() {
    			return os.MkdirAll(dstPath, perm|0200)
    		}
    
    		// If the OS supports symlinks, use them instead of copying bytes.
    		if err := os.Symlink(srcPath, dstPath); err == nil {
    			return nil
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. lib/time/zoneinfo.zip

    America/St_Barthelemy America/St_Johns America/St_Kitts America/St_Lucia America/St_Thomas America/St_Vincent America/Swift_Current America/Tegucigalpa America/Thule America/Thunder_Bay America/Tijuana America/Toronto America/Tortola America/Vancouver America/Virgin America/Whitehorse America/Winnipeg America/Yakutat America/Yellowknife Antarctica/Casey Antarctica/Davis Antarctica/DumontDUrville Antarctica/Macquarie Antarctica/Mawson Antarctica/McMurdo Antarctica/Palmer Antarctica/Rothera Antarctica/South_Pole...
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 392.3K bytes
    - Viewed (1)
  5. src/bytes/buffer.go

    		n += int64(m)
    		if e == io.EOF {
    			return n, nil // e is EOF, so return nil explicitly
    		}
    		if e != nil {
    			return n, e
    		}
    	}
    }
    
    // growSlice grows b by n, preserving the original content of b.
    // If the allocation fails, it panics with ErrTooLarge.
    func growSlice(b []byte, n int) []byte {
    	defer func() {
    		if recover() != nil {
    			panic(ErrTooLarge)
    		}
    	}()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    		h.Mode |= c_ISVTX
    	}
    	// If possible, populate additional fields from OS-specific
    	// FileInfo fields.
    	if sys, ok := fi.Sys().(*Header); ok {
    		// This FileInfo came from a Header (not the OS). Use the
    		// original Header to populate all remaining fields.
    		h.Uid = sys.Uid
    		h.Gid = sys.Gid
    		h.Uname = sys.Uname
    		h.Gname = sys.Gname
    		h.AccessTime = sys.AccessTime
    		h.ChangeTime = sys.ChangeTime
    		if sys.Xattrs != nil {
    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. src/cmd/cgo/gcc.go

    			// If the struct has 3 fields tv_sec, tv_usec, _pad1, then we
    			// still want to remove the tv_ prefix.
    			// The check for "orig_" here handles orig_eax in the
    			// x86 ptrace register sets, which otherwise have all fields
    			// with reg_ prefixes.
    			if strings.HasPrefix(n.Name, "orig_") || strings.HasPrefix(n.Name, "_") {
    				continue
    			}
    			i := strings.Index(n.Name, "_")
    			if i < 0 {
    				continue
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/bytes/example_test.go

    	// ХЛЕБ
    }
    
    func ExampleToTitleSpecial() {
    	str := []byte("ahoj vývojári golang")
    	totitle := bytes.ToTitleSpecial(unicode.AzeriCase, str)
    	fmt.Println("Original : " + string(str))
    	fmt.Println("ToTitle : " + string(totitle))
    	// Output:
    	// Original : ahoj vývojári golang
    	// ToTitle : AHOJ VÝVOJÁRİ GOLANG
    }
    
    func ExampleToValidUTF8() {
    	fmt.Printf("%s\n", bytes.ToValidUTF8([]byte("abc"), []byte("\uFFFD")))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  9. src/archive/tar/format.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import "strings"
    
    // Format represents the tar archive format.
    //
    // The original tar format was introduced in Unix V7.
    // Since then, there have been multiple competing formats attempting to
    // standardize or extend the V7 format to overcome its limitations.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  10. .gitignore

    .DS_Store
    *.[56789ao]
    *.a[56789o]
    *.so
    *.pyc
    ._*
    .nfs.*
    [56789a].out
    *~
    *.orig
    *.rej
    *.exe
    .*.swp
    core
    *.cgo*.go
    *.cgo*.c
    _cgo_*
    _obj
    _test
    _testmain.go
    
    /VERSION.cache
    /bin/
    /build.out
    /doc/articles/wiki/*.bin
    /goinstall.log
    /last-change
    /misc/cgo/life/run.out
    /misc/cgo/stdio/run.out
    /misc/cgo/testso/main
    /pkg/
    /src/*.*/
    /src/cmd/cgo/zdefaultcc.go
    /src/cmd/dist/dist
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jun 22 19:44:52 GMT 2023
    - 958 bytes
    - Viewed (0)
Back to top