Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 328 for 2014 (0.25 sec)

  1. src/crypto/tls/conn_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 tls
    
    import (
    	"bytes"
    	"io"
    	"net"
    	"testing"
    )
    
    func TestRoundUp(t *testing.T) {
    	if roundUp(0, 16) != 0 ||
    		roundUp(1, 16) != 16 ||
    		roundUp(15, 16) != 16 ||
    		roundUp(16, 16) != 16 ||
    		roundUp(17, 16) != 32 {
    		t.Error("roundUp broken")
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/plist.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 obj
    
    import (
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    	"fmt"
    	"internal/abi"
    	"strings"
    )
    
    type Plist struct {
    	Firstpc *Prog
    	Curfn   Func
    }
    
    // ProgAlloc is a function that allocates Progs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-ECDSA

    00000260  e4 c7 78 0d ae cb be 9e  4e 36 24 31 7b 6a 0f 39  |..x.....N6$1{j.9|
    00000270  95 12 07 8f 2a 16 03 03  00 b6 0c 00 00 b2 03 00  |....*...........|
    00000280  1d 20 04 b4 79 b4 2c 1d  0f b3 4b ff 67 e7 24 88  |. ..y.,...K.g.$.|
    00000290  d6 db 4f 1e 66 da 0e f2  89 5a 53 ed 4e ba ad 4c  |..O.f....ZS.N..L|
    000002a0  81 0a 04 03 00 8a 30 81  87 02 42 01 fb 16 53 43  |......0...B...SC|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/runtime/race/testdata/chan_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 race_test
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    func TestNoRaceChanSync(t *testing.T) {
    	v := 0
    	_ = v
    	c := make(chan int)
    	go func() {
    		v = 1
    		c <- 0
    	}()
    	<-c
    	v = 2
    }
    
    func TestNoRaceChanSyncRev(t *testing.T) {
    	v := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 11K bytes
    - Viewed (0)
  5. src/runtime/malloc_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 runtime_test
    
    import (
    	"flag"
    	"fmt"
    	"internal/race"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"reflect"
    	"runtime"
    	. "runtime"
    	"strings"
    	"sync/atomic"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    var testMemStatsCount int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. src/encoding/json/stream.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 json
    
    import (
    	"bytes"
    	"errors"
    	"io"
    )
    
    // A Decoder reads and decodes JSON values from an input stream.
    type Decoder struct {
    	r       io.Reader
    	buf     []byte
    	d       decodeState
    	scanp   int   // start of unread data in buf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. src/go/types/typestring.go

    // Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
    // Source: ../../cmd/compile/internal/types2/typestring.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.
    
    // This file implements printing of types.
    
    package types
    
    import (
    	"bytes"
    	"fmt"
    	"sort"
    	"strconv"
    	"strings"
    	"unicode/utf8"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top