- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 202 for Style (0.01 seconds)
-
src/cmd/api/testdata/src/pkg/p2/p2.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 p2 type Twoer interface { // Deprecated: No good. PackageTwoMeth() } // Deprecated: No good. func F() string {} func G() Twoer {}Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 337 bytes - Click Count (0) -
src/cmd/api/testdata/src/pkg/p3/p3.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 p3 type ThirdBase struct{} func (tb *ThirdBase) GoodPlayer() (i, j, k int)Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Nov 09 14:05:53 GMT 2022 - 310 bytes - Click Count (0) -
src/bytes/bytes_js_wasm_test.go
// Copyright 2024 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 js && wasm package bytes_test import ( "bytes" "testing" ) func TestIssue65571(t *testing.T) { b := make([]byte, 1<<31+1) b[1<<31] = 1 i := bytes.IndexByte(b, 1) if i != 1<<31 { t.Errorf("IndexByte(b, 1) = %d; want %d", i, 1<<31) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Jul 17 07:00:20 GMT 2024 - 417 bytes - Click Count (0) -
src/archive/zip/fuzz_test.go
// Copyright 2021 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 zip import ( "bytes" "io" "os" "path/filepath" "testing" ) func FuzzReader(f *testing.F) { testdata, err := os.ReadDir("testdata") if err != nil { f.Fatalf("failed to read testdata directory: %s", err) } for _, de := range testdata {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 1.7K bytes - Click Count (0) -
lib/fips140/Makefile
# Copyright 2024 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. # Rules for building and testing new FIPS snapshots. # For example: # # make v1.2.3.zip # make v1.2.3.test # # and then if changes are needed, check them into master # and run 'make v1.2.3.rm' and repeat. # # Note that once published a snapshot zip file should never
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Sep 16 00:31:59 GMT 2025 - 1.4K bytes - Click Count (0) -
src/all.rc
#!/bin/rc -e # 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. rfork n if(! test -f make.rc){ echo 'all.rc must be run from $GOROOT/src' >[1=2] exit wrongdir } . ./make.rc --no-banner $* bind -b $GOROOT/bin /bin ./run.rc --no-rebuildCreated: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jun 10 13:00:41 GMT 2025 - 391 bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/loong64.s
// Copyright 2022 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 "../../../../../runtime/textflag.h" // TODO: cover more instruction TEXT foo(SB),DUPOK|NOSPLIT,$0 JAL 1(PC) //CALL 1(PC) //00040054 JAL (R4) //CALL (R4) //8100004c // relocation in play so the assembled offset should be 0
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Mar 22 18:50:59 GMT 2023 - 434 bytes - Click Count (0) -
lib/wasm/go_js_wasm_exec
#!/usr/bin/env bash # Copyright 2018 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. SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" done DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Aug 30 19:15:21 GMT 2024 - 603 bytes - Click Count (0) -
src/bufio/export_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 bufio // Exported for testing only. import ( "unicode/utf8" ) var IsSpace = isSpace const DefaultBufSize = defaultBufSize func (s *Scanner) MaxTokenSize(n int) { if n < utf8.UTFMax || n > 1e9 { panic("bad max token size") } if n < len(s.buf) {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 02 17:17:44 GMT 2017 - 597 bytes - Click Count (0) -
src/cmd/asm/internal/arch/mips.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. // This file encapsulates some of the odd characteristics of the // MIPS (MIPS64) instruction set, to minimize its interaction // with the core of the assembler. package arch import ( "cmd/internal/obj" "cmd/internal/obj/mips" ) func jumpMIPS(word string) bool {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Mar 04 19:06:44 GMT 2020 - 1.7K bytes - Click Count (0)