Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for male (0.13 sec)

  1. src/archive/zip/zip_test.go

    				}
    			}
    			if err := w.Close(); err != nil {
    				t.Fatal(err)
    			}
    		}
    	}
    	// 16k-1 records shouldn't make a zip64:
    	t.Run("uint16max-1_NoZip64", func(t *testing.T) {
    		t.Parallel()
    		if generatesZip64(t, gen(0xfffe)) {
    			t.Error("unexpected zip64")
    		}
    	})
    	// 16k records should make a zip64:
    	t.Run("uint16max_Zip64", func(t *testing.T) {
    		t.Parallel()
    		if !generatesZip64(t, gen(0xffff)) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/callback_windows.go

    		"test.nestedCall.func1",
    		"test.nestedCall",
    		"test.testCallbackCallersSEH",
    		"test.TestCallbackCallersSEH",
    	}
    	pc := make([]uintptr, 100)
    	n := 0
    	nestedCall(func() {
    		n = int(C.backtrace(C.DWORD(len(pc)), (*C.PVOID)(unsafe.Pointer(&pc[0]))))
    	})
    	got := make([]string, 0, n)
    	for i := 0; i < n; i++ {
    		f := runtime.FuncForPC(pc[i] - 1)
    		if f == nil {
    			continue
    		}
    		fname := f.Name()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/input.go

    		beginningOfLine: true,
    		macros:          predefine(flags.D),
    	}
    }
    
    // predefine installs the macros set by the -D flag on the command line.
    func predefine(defines flags.MultiFlag) map[string]*Macro {
    	macros := make(map[string]*Macro)
    	for _, name := range defines {
    		value := "1"
    		i := strings.IndexRune(name, '=')
    		if i > 0 {
    			name, value = name[:i], name[i+1:]
    		}
    		tokens := Tokenize(name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    // up to a maximum of n byte slices. Invalid UTF-8 sequences are chopped into individual bytes.
    func explode(s []byte, n int) [][]byte {
    	if n <= 0 || n > len(s) {
    		n = len(s)
    	}
    	a := make([][]byte, n)
    	var size int
    	na := 0
    	for len(s) > 0 {
    		if na+1 >= n {
    			a[na] = s
    			na++
    			break
    		}
    		_, size = utf8.DecodeRune(s)
    		a[na] = s[0:size:size]
    		s = s[size:]
    		na++
    	}
    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)
  5. src/cmd/cgo/internal/test/issue29563.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo && !windows
    
    // Issue 29563: internal linker fails on duplicate weak symbols.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 363 bytes
    - Viewed (0)
  6. doc/next/6-stdlib/2-unique.md

    ### New unique package
    
    The new [unique](/pkg/unique) package provides facilities for
    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  7. src/builtin/builtin.go

    // constant. See the Go language specification's "Length and capacity" section for
    // details.
    func cap(v Type) int
    
    // The make built-in function allocates and initializes an object of type
    // slice, map, or chan (only). Like new, the first argument is a type, not a
    // value. Unlike new, make's return type is the same as the type of its
    // argument, not a pointer to it. The specification of the result depends on
    // the type:
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. misc/chrome/gophertool/gopher.js

            return "https://golang.org/cl/" + t;
        }
    
        var match = commitRE.exec(t);
        if (match) {
            return "https://golang.org/change/" + match[1];
        }
    
        if (pkgRE.test(t)) {
            // TODO: make this smarter, using a list of packages + substring matches.
            // Get the list from godoc itself in JSON format?
            return "https://golang.org/pkg/" + t;
        }
    
        return null;
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.2K bytes
    - Viewed (0)
  9. doc/go_spec.html

    Call             Core type    Result
    
    make(T, n)       slice        slice of type T with length n and capacity n
    make(T, n, m)    slice        slice of type T with length n and capacity m
    
    make(T)          map          map of type T
    make(T, n)       map          map of type T with initial space for approximately n elements
    
    make(T)          channel      unbuffered channel of type T
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/parse.go

    	if ctxt != nil {
    		pkgPrefix = objabi.PathToPrefix(ctxt.Pkgpath)
    	}
    	return &Parser{
    		ctxt:        ctxt,
    		arch:        ar,
    		lex:         lexer,
    		labels:      make(map[string]*obj.Prog),
    		dataAddr:    make(map[string]int64),
    		errorWriter: os.Stderr,
    		allowABI:    ctxt != nil && objabi.LookupPkgSpecial(ctxt.Pkgpath).AllowAsmABI,
    		pkgPrefix:   pkgPrefix,
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top