Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 2,434 for 2014 (0.17 sec)

  1. test/fixedbugs/issue8325.go

    // run
    
    // Copyright 2014 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.
    
    // Issue 8325: corrupted byte operations during optimization
    // pass.
    
    package main
    
    const alphanum = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    
    func main() {
    	var bytes = []byte{10, 20, 30, 40, 50}
    
    	for i, b := range bytes {
    		bytes[i] = alphanum[b%byte(len(alphanum))]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 617 bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/report/source_html.go

    // Copyright 2014 Google Inc. All Rights Reserved.
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. test/fixedbugs/issue9355.go

    // run
    
    //go:build !js && !wasip1 && gc
    
    // Copyright 2014 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
    
    import (
    	"fmt"
    	"io/ioutil"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    )
    
    func main() {
    	err := os.Chdir(filepath.Join("fixedbugs", "issue9355.dir"))
    	check(err)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testgodefs/testdata/anonunion.go

    // Copyright 2014 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 ignore
    
    package main
    
    // This file tests that when cgo -godefs sees a struct with a field
    // that is an anonymous union, the first field in the union is
    // promoted to become a field of the struct.  See issue 6677 for
    // background.
    
    /*
    typedef struct {
    	union {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 515 bytes
    - Viewed (0)
  5. test/fixedbugs/bug487.go

    // errorcheck
    
    // Copyright 2014 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.
    
    // The gccgo compiler did not reliably report mismatches between the
    // number of function results and the number of expected results.
    
    package p
    
    func G() (int, int, int) {
    	return 0, 0, 0
    }
    
    func F() {
    	a, b := G()	// ERROR "mismatch|cannot initialize"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 570 bytes
    - Viewed (0)
  6. test/fixedbugs/issue7223.go

    // errorcheck
    
    // Copyright 2014 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
    
    var bits1 uint = 10
    
    const bits2 uint = 10
    
    func main() {
    	_ = make([]byte, 1<<bits1)
    	_ = make([]byte, 1<<bits2)
    	_ = make([]byte, nil)    // ERROR "non-integer.*len|nil"
    	_ = make([]byte, nil, 2) // ERROR "non-integer.*len|nil"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 22 23:51:43 UTC 2021
    - 615 bytes
    - Viewed (0)
  7. test/fixedbugs/issue7310.go

    // errorcheck
    
    // Copyright 2014 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.
    
    // Internal compiler crash used to stop errors during second copy.
    
    package main
    
    func main() {
    	_ = copy(nil, []int{}) // ERROR "use of untyped nil|left argument must be a slice|expects slice arguments"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 614 bytes
    - Viewed (0)
  8. test/fixedbugs/issue8612.go

    //compile
    
    // Copyright 2014 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.
    
    // Gccgo had a bug comparing a struct or array value with an interface
    // values, when the struct or array was not addressable.
    
    package p
    
    type A [10]int
    
    type S struct {
    	i int
    }
    
    func F1() S {
    	return S{0}
    }
    
    func F2() A {
    	return A{}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 525 bytes
    - Viewed (0)
  9. src/syscall/asm_solaris_amd64.s

    // Copyright 2014 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.
    
    #include "textflag.h"
    
    //
    // System calls for solaris/amd64 are implemented in ../runtime/syscall_solaris.go
    //
    
    TEXT ·sysvicall6(SB),NOSPLIT,$0
    	JMP	runtime·syscall_sysvicall6(SB)
    
    TEXT ·rawSysvicall6(SB),NOSPLIT,$0
    	JMP	runtime·syscall_rawsysvicall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 17:21:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. test/fixedbugs/bug485.go

    // run
    
    // Copyright 2014 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.
    
    // Gccgo chose the wrong embedded method when the same type appeared
    // at different levels and the correct choice was not the first
    // appearance of the type in a depth-first search.
    
    package main
    
    type embedded string
    
    func (s embedded) val() string {
    	return string(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 624 bytes
    - Viewed (0)
Back to top