Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for follower (0.23 sec)

  1. doc/go1.17_spec.html

    ASCII text.  There are four ways to represent the integer value
    as a numeric constant: <code>\x</code> followed by exactly two hexadecimal
    digits; <code>\u</code> followed by exactly four hexadecimal digits;
    <code>\U</code> followed by exactly eight hexadecimal digits, and a
    plain backslash <code>\</code> followed by exactly three octal digits.
    In each case the value of the literal is the value represented by
    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. src/cmd/cgo/ast.go

    			for _, spec := range d.Specs {
    				if s, ok := spec.(*ast.ImportSpec); ok && s.Path.Value == `"C"` {
    					// Replace "C" with _ "unsafe", to keep program valid.
    					// (Deleting import statement or clause is not safe if it is followed
    					// in the source by an explicit semicolon.)
    					f.Edit.Replace(f.offset(s.Path.Pos()), f.offset(s.Path.End()), `_ "unsafe"`)
    				}
    			}
    		}
    	}
    
    	// Accumulate pointers to uses of C.x.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    	// #cgo amd64 386 CFLAGS: -DX86=1
    	// #cgo LDFLAGS: -lpng
    	// #include <png.h>
    	import "C"
    
    Alternatively, CPPFLAGS and LDFLAGS may be obtained via the pkg-config tool
    using a '#cgo pkg-config:' directive followed by the package names.
    For example:
    
    	// #cgo pkg-config: png cairo
    	// #include <png.h>
    	import "C"
    
    The default pkg-config tool may be changed by setting the PKG_CONFIG environment variable.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/bytes/boundary_test.go

    // These tests run only on linux. The code being tested is
    // not OS-specific, so it does not need to be tested on all
    // operating systems.
    
    // dangerousSlice returns a slice which is immediately
    // preceded and followed by a faulting page.
    func dangerousSlice(t *testing.T) []byte {
    	pagesize := syscall.Getpagesize()
    	b, err := syscall.Mmap(0, 0, 3*pagesize, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANONYMOUS|syscall.MAP_PRIVATE)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. doc/asm.html

    that assembly programming is a fraught endeavor.
    (Exception: the <code>g</code> register renaming on ARM.)
    </p>
    
    <p>
    In Go object files and binaries, the full name of a symbol is the
    package path followed by a period and the symbol name:
    <code>fmt.Printf</code> or <code>math/rand.Int</code>.
    Because the assembler's parser treats period and slash as punctuation,
    those strings cannot be used directly as identifier names.
    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)
  6. src/bytes/example_test.go

    func ExampleToLower() {
    	fmt.Printf("%s", bytes.ToLower([]byte("Gopher")))
    	// Output: gopher
    }
    
    func ExampleToLowerSpecial() {
    	str := []byte("AHOJ VÝVOJÁRİ GOLANG")
    	totitle := bytes.ToLowerSpecial(unicode.AzeriCase, str)
    	fmt.Println("Original : " + string(str))
    	fmt.Println("ToLower : " + string(totitle))
    	// Output:
    	// Original : AHOJ VÝVOJÁRİ GOLANG
    	// ToLower : ahoj vývojári golang
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  7. src/cmd/cgo/gcc.go

    		for _, k := range nameKinds {
    			if strings.HasPrefix(t, k+"_") {
    				return true
    			}
    		}
    	}
    	return false
    }
    
    // rewriteCalls rewrites all calls that pass pointers to check that
    // they follow the rules for passing pointers between Go and C.
    // This reports whether the package needs to import unsafe as _cgo_unsafe.
    func (p *Package) rewriteCalls(f *File) bool {
    	needsUnsafe := false
    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/bufio/scan.go

    }
    
    // ScanLines is a split function for a [Scanner] that returns each line of
    // text, stripped of any trailing end-of-line marker. The returned line may
    // be empty. The end-of-line marker is one optional carriage return followed
    // by one mandatory newline. In regular expression notation, it is `\r?\n`.
    // The last non-empty line of input will be returned even if it has no
    // newline.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    			c := s[i]
    			if 'a' <= c && c <= 'z' {
    				c -= 'a' - 'A'
    			}
    			b[i] = c
    		}
    		return b
    	}
    	return Map(unicode.ToUpper, s)
    }
    
    // ToLower returns a copy of the byte slice s with all Unicode letters mapped to
    // their lower case.
    func ToLower(s []byte) []byte {
    	isASCII, hasUpper := true, false
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if c >= utf8.RuneSelf {
    			isASCII = false
    			break
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  10. src/archive/zip/reader.go

    	needCSize := f.CompressedSize == ^uint32(0)
    	needHeaderOffset := f.headerOffset == int64(^uint32(0))
    
    	// Best effort to find what we need.
    	// Other zip authors might not even follow the basic format,
    	// and we'll just ignore the Extra content in that case.
    	var modified time.Time
    parseExtras:
    	for extra := readBuf(f.Extra); len(extra) >= 4; { // need at least tag and size
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top