Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for male (0.16 sec)

  1. src/bytes/buffer_test.go

    		}
    
    		rlen := rand.Intn(len(testString))
    		fub := make([]byte, rlen)
    		n, _ := buf.Read(fub)
    		s = s[n:]
    	}
    	empty(t, "TestMixedReadsAndWrites (2)", &buf, s, make([]byte, buf.Len()))
    }
    
    func TestCapWithPreallocatedSlice(t *testing.T) {
    	buf := NewBuffer(make([]byte, 10))
    	n := buf.Cap()
    	if n != 10 {
    		t.Errorf("expected 10, got %d", n)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    Call             Type T     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 Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    	}
    }
    
    func TestInvalidFiles(t *testing.T) {
    	const size = 1024 * 70 // 70kb
    	b := make([]byte, size)
    
    	// zeroes
    	_, err := NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("zeroes: error=%v, want %v", err, ErrFormat)
    	}
    
    	// repeated directoryEndSignatures
    	sig := make([]byte, 4)
    	binary.LittleEndian.PutUint32(sig, directoryEndSignature)
    	for i := 0; i < size-4; i += 4 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    use. You can do this by setting the generic CC_FOR_TARGET or the
    more specific CC_FOR_${GOOS}_${GOARCH} (for example, CC_FOR_linux_arm)
    environment variable when building the toolchain using make.bash,
    or you can set the CC environment variable any time you run the go tool.
    
    The CXX_FOR_TARGET, CXX_FOR_${GOOS}_${GOARCH}, and CXX
    environment variables work in a similar way for C++ code.
    
    # Go references to C
    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)
  5. src/all.bash

    #!/usr/bin/env bash
    # Copyright 2009 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.
    
    set -e
    if [ ! -f make.bash ]; then
    	echo 'all.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    . ./make.bash "$@" --no-banner
    bash run.bash --no-rebuild
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 11 19:53:58 GMT 2024
    - 377 bytes
    - Viewed (0)
  6. lib/time/update.bash

    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
    tar xzf tzcode$CODE.tar.gz
    tar xzf tzdata$DATA.tar.gz
    
    if ! make CFLAGS=-DSTD_INSPIRED AWK=awk TZDIR=zoneinfo posix_only >make.out 2>&1; then
    	cat make.out
    	exit 2
    fi
    
    cd zoneinfo
    ../mkzip ../../zoneinfo.zip
    cd ../..
    
    files="update.bash zoneinfo.zip"
    modified=true
    if git diff --quiet $files; then
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. api/next/62483.txt

    pkg unique, func Make[$0 comparable]($0) Handle[$0] #62483
    pkg unique, method (Handle[$0]) Value() $0 #62483
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Apr 22 18:14:07 GMT 2024
    - 162 bytes
    - Viewed (0)
  8. src/README.vendor

    module commands like 'go get' and 'go mod vendor' from a directory
    in GOROOT/src.
    
    Maintaining vendor directories
    ==============================
    
    Before updating vendor directories, ensure that module mode is enabled.
    Make sure that GO111MODULE is not set in the environment, or that it is
    set to 'on' or 'auto', and if you use a go.work file, set GOWORK=off.
    
    Requirements may be added, updated, and removed with 'go get'.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/bytes/boundary_test.go

    //
    //go:build linux
    
    package bytes_test
    
    import (
    	. "bytes"
    	"syscall"
    	"testing"
    )
    
    // This file tests the situation where byte operations are checking
    // data very near to a page boundary. We want to make sure those
    // operations do not read across the boundary and cause a page
    // fault where they shouldn't.
    
    // These tests run only on linux. The code being tested is
    // not OS-specific, so it does not need to be tested on all
    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)
  10. .github/ISSUE_TEMPLATE/11-language-change.yml

        validations:
          required: false
    
      - type: textarea
        id: learning-curve
        attributes:
          label: "Would this change make Go easier or harder to learn, and why?"
    
      - type: textarea
        id: cost-description
        attributes:
          label: "Cost Description"
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top