Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 368 for 2014 (0.03 sec)

  1. src/go/token/position_test.go

    // Copyright 2010 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 token
    
    import (
    	"fmt"
    	"math/rand"
    	"reflect"
    	"sync"
    	"testing"
    )
    
    func checkPos(t *testing.T, msg string, got, want Position) {
    	if got.Filename != want.Filename {
    		t.Errorf("%s: got filename = %q; want %q", msg, got.Filename, want.Filename)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/index/suffixarray/suffixarray_test.go

    // Copyright 2010 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 suffixarray
    
    import (
    	"bytes"
    	"fmt"
    	"io/fs"
    	"math/rand"
    	"os"
    	"path/filepath"
    	"regexp"
    	"slices"
    	"sort"
    	"strings"
    	"testing"
    )
    
    type testCase struct {
    	name     string   // name of test case
    	source   string   // source to index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/mime/mediatype_test.go

    // Copyright 2010 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 mime
    
    import (
    	"reflect"
    	"strings"
    	"testing"
    )
    
    func TestConsumeToken(t *testing.T) {
    	tests := [...][3]string{
    		{"foo bar", "foo", " bar"},
    		{"bar", "bar", ""},
    		{"", "", ""},
    		{" foo", "", " foo"},
    	}
    	for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 17:58:37 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  4. src/mime/multipart/multipart.go

    // Copyright 2010 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 multipart implements MIME multipart parsing, as defined in RFC
    2046.
    
    The implementation is sufficient for HTTP (RFC 2388) and the multipart
    bodies generated by popular browsers.
    
    # Limits
    
    To protect against malicious inputs, this package sets limits on the size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/syscall/security_windows.go

    // Copyright 2012 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 syscall
    
    import (
    	"unsafe"
    )
    
    const (
    	STANDARD_RIGHTS_REQUIRED = 0xf0000
    	STANDARD_RIGHTS_READ     = 0x20000
    	STANDARD_RIGHTS_WRITE    = 0x20000
    	STANDARD_RIGHTS_EXECUTE  = 0x20000
    	STANDARD_RIGHTS_ALL      = 0x1F0000
    )
    
    const (
    	NameUnknown          = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/named.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 types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"strings"
    	"sync"
    	"sync/atomic"
    )
    
    // Type-checking Named types is subtle, because they may be recursively
    // defined, and because their full details may be spread across multiple
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. src/text/template/parse/node.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.
    
    // Parse nodes.
    
    package parse
    
    import (
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    var textFormat = "%s" // Changed to "%q" in tests for better error messages.
    
    // A Node is an element in the parse tree. The interface is trivial.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. src/cmd/cover/cover_test.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 main_test
    
    import (
    	"bufio"
    	"bytes"
    	cmdcover "cmd/cover"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"internal/testenv"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"strings"
    	"sync"
    	"testing"
    )
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  9. src/cmd/internal/notsha256/sha256block_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 !purego
    
    #include "textflag.h"
    
    // SHA256 block routine. See sha256block.go for Go equivalent.
    //
    // The algorithm is detailed in FIPS 180-4:
    //
    //  https://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf
    
    // Wt = Mt; for 0 <= t <= 15
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 14K bytes
    - Viewed (0)
  10. src/go/types/api.go

    // Copyright 2012 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 types declares the data types and implements
    // the algorithms for type-checking of Go packages. Use
    // [Config.Check] to invoke the type checker for a package.
    // Alternatively, create a new type checker with [NewChecker]
    // and invoke it incrementally by calling [Checker.Files].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top