Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 685 for too (0.02 sec)

  1. src/path/filepath/path_unix.go

    	return strings.Split(path, string(ListSeparator))
    }
    
    func abs(path string) (string, error) {
    	return unixAbs(path)
    }
    
    func join(elem []string) string {
    	// If there's a bug here, fix the logic in ./path_plan9.go too.
    	for i, e := range elem {
    		if e != "" {
    			return Clean(strings.Join(elem[i:], string(Separator)))
    		}
    	}
    	return ""
    }
    
    func sameWord(a, b string) bool {
    	return a == b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 970 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cgo_long_cmd.txt

    # Issue #66456
    
    [!cgo] skip
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    # Generate a file with a very long #cgo LDFLAGS line.
    # This used to cause "go build" to fail with "argument list too long".
    go generate
    
    # Build with the generated file.
    go build
    
    -- go.mod --
    module cgolongcmd
    
    go 1.22
    -- generate.go --
    //go:build ignore
    
    package main
    
    import (
    	"fmt"
    	"log"
    	"os"
    	"bytes"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 782 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    //
    // A call to Printf must have as many operands as there are "verbs" in
    // the format string, not too few:
    //
    //	fmt.Printf("%d") // fmt.Printf format reads arg 1, but call has 0 args
    //
    // nor too many:
    //
    //	fmt.Printf("%d", 1, 2) // fmt.Printf call needs 1 arg, but has 2 args
    //
    // Explicit argument indexes must be no greater than the number of
    // arguments:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/path/filepath/path_plan9.go

    	return strings.Split(path, string(ListSeparator))
    }
    
    func abs(path string) (string, error) {
    	return unixAbs(path)
    }
    
    func join(elem []string) string {
    	// If there's a bug here, fix the logic in ./path_unix.go too.
    	for i, e := range elem {
    		if e != "" {
    			return Clean(strings.Join(elem[i:], string(Separator)))
    		}
    	}
    	return ""
    }
    
    func sameWord(a, b string) bool {
    	return a == b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 926 bytes
    - Viewed (0)
  5. src/math/big/floatmarsh.go

    func (z *Float) GobDecode(buf []byte) error {
    	if len(buf) == 0 {
    		// Other side sent a nil or default value.
    		*z = Float{}
    		return nil
    	}
    	if len(buf) < 6 {
    		return errors.New("Float.GobDecode: buffer too small")
    	}
    
    	if buf[0] != floatGobVersion {
    		return fmt.Errorf("Float.GobDecode: encoding version %d not supported", buf[0])
    	}
    
    	oldPrec := z.prec
    	oldMode := z.mode
    
    	b := buf[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/bodies/KtVariableInitializerRenderer.kt

            override fun renderInitializer(analysisSession: KaSession, symbol: KaVariableSymbol, printer: PrettyPrinter) {
                //todo add initializer to KaVariableSymbol and render for it too KT-54794/
                val initializer = (symbol as? KaPropertySymbol)?.initializer as? KaConstantInitializerValue ?: return
                printer.append(" = ")
                printer.append(initializer.constant.renderAsKotlinConstant())
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. doc/next/3-tools.md

    ### Vet {#vet}
    
    <!-- go.dev/issue/46136 -->
    The `go vet` subcommand now includes the
    [stdversion](https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/stdversion)
    analyzer, which flags references to symbols that are too new for the version
    of Go in effect in the referring file. (The effective version is determined
    by the `go` directive in the file's enclosing `go.mod` file, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 19:06:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. internal/auth/credentials.go

    //
    // GenerateAccessKey returns an error if length is too small for a valid
    // access key.
    func GenerateAccessKey(length int, random io.Reader) (string, error) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if length <= 0 {
    		length = accessKeyMaxLen
    	}
    	if length < accessKeyMinLen {
    		return "", errors.New("auth: access key length is too short")
    	}
    
    	key := make([]byte, length)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/hash/maphash/smhasher_test.go

    		h.addB(b[:i])
    	}
    	h.check(t)
    }
    
    // Strings with up to two nonzero bytes all have distinct hashes.
    func TestSmhasherTwoNonzero(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("Too slow on wasm")
    	}
    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    	testenv.ParallelOn64Bit(t)
    	h := newHashSet()
    	for n := 2; n <= 16; n++ {
    		twoNonZero(h, n)
    	}
    	h.check(t)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. pkg/proxy/util/endpoints_test.go

    	}{
    		{"1.2.3.4", "1.2.3.4", noError},
    		{"1.2.3.4:9999", "1.2.3.4", noError},
    		{"2001:db8::1:1", "2001:db8::1:1", noError},
    		{"[2001:db8::2:2]:9999", "2001:db8::2:2", noError},
    		{"1.2.3.4::9999", "", "too many colons"},
    		{"1.2.3.4:[0]", "", "unexpected '[' in address"},
    		{"1.2.3:8080", "", "invalid ip part"},
    	}
    
    	for _, tc := range testCases {
    		ip := IPPart(tc.endpoint)
    		if tc.expectedError == noError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top