Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 328 for 2014 (0.06 sec)

  1. src/text/template/parse/parse_test.go

    // Copyright 2011 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.
    
    package parse
    
    import (
    	"flag"
    	"fmt"
    	"strings"
    	"testing"
    )
    
    var debug = flag.Bool("debug", false, "show the errors produced by the main tests")
    
    type numberTest struct {
    	text      string
    	isInt     bool
    	isUint    bool
    	isFloat   bool
    	isComplex bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/stackalloc.go

    // Copyright 2015 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.
    
    // TODO: live at start of block instead?
    
    package ssa
    
    import (
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    	"fmt"
    )
    
    type stackAllocState struct {
    	f *Func
    
    	// live is the output of stackalloc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    // Copyright 2015 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.
    
    package tests
    
    import (
    	_ "embed"
    	"fmt"
    	"go/ast"
    	"go/token"
    	"go/types"
    	"regexp"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/internal/analysisutil"
    )
    
    //go:embed doc.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. src/os/pipe_test.go

    // Copyright 2015 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.
    
    // Test broken pipes on Unix systems.
    //
    //go:build !plan9 && !js && !wasip1
    
    package os_test
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"os"
    	"os/exec"
    	"os/signal"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  5. src/go/types/check_test.go

    // Copyright 2011 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.
    
    // This file implements a typechecker test harness. The packages specified
    // in tests are typechecked. Error messages reported by the typechecker are
    // compared against the errors expected in the test files.
    //
    // Expected errors are indicated in the test files by putting comments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/runtime/race_amd64.s

    // Copyright 2013 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.
    
    //go:build race
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    #include "cgo/abi_amd64.h"
    
    // The following thunks allow calling the gcc-compiled race runtime directly
    // from Go code without going all the way through cgo.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. src/go/build/build_test.go

    // Copyright 2011 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.
    
    package build
    
    import (
    	"fmt"
    	"internal/testenv"
    	"io"
    	"os"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    	Default.GOROOT = testenv.GOROOT(nil)
    	os.Exit(m.Run())
    }
    
    func TestMatch(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/transform/transform.go

    // Copyright 2013 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.
    
    // Package transform provides reader and writer wrappers that transform the
    // bytes passing through as well as various transformations. Example
    // transformations provided by other packages include normalization and
    // conversion between character sets.
    package transform // import "golang.org/x/text/transform"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    // Copyright 2011 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.
    
    package norm
    
    import "unicode/utf8"
    
    const (
    	maxNonStarters = 30
    	// The maximum number of characters needed for a buffer is
    	// maxNonStarters + 1 for the starter + 1 for the GCJ
    	maxBufferSize    = maxNonStarters + 2
    	maxNFCExpansion  = 3  // NFC(0x1D160)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    // Copyright 2013 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.
    
    package astutil
    
    // This file defines utilities for working with source positions.
    
    import (
    	"fmt"
    	"go/ast"
    	"go/token"
    	"sort"
    )
    
    // PathEnclosingInterval returns the node that encloses the source
    // interval [start, end), and all its ancestors up to the AST root.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
Back to top