Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for good (0.42 sec)

  1. cmd/xl-storage_test.go

    	"runtime"
    	"strings"
    	"syscall"
    	"testing"
    
    	"github.com/google/uuid"
    )
    
    func TestCheckPathLength(t *testing.T) {
    	// Check path length restrictions are not same on windows/darwin
    	if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
    		t.Skip()
    	}
    
    	testCases := []struct {
    		path        string
    		expectedErr error
    	}{
    		{".", errFileAccessDenied},
    		{"/", errFileAccessDenied},
    		{"..", errFileAccessDenied},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    // a list of exported functions, and the actual AST, to be rewritten and
    // printed.
    func (f *File) ParseGo(abspath string, src []byte) {
    	// Two different parses: once with comments, once without.
    	// The printer is not good enough at printing comments in the
    	// right place when we start editing the AST behind its back,
    	// so we use ast1 to look for the doc comments on import "C"
    	// and on exported functions, and we use ast2 for translating
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    		for _, startLen := range []int{0, 100, 1000, 10000, 100000} {
    			xBytes := Repeat(x, startLen)
    
    			buf := NewBuffer(xBytes)
    			// If we read, this affects buf.off, which is good to test.
    			readBytes, _ := buf.Read(tmp)
    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    			})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    		used[f.Name] = true
    	}
    
    	if !*godefs {
    		for cid, goid := range ident {
    			if token.Lookup(goid).IsKeyword() {
    				// Avoid keyword
    				goid = "_" + goid
    
    				// Also avoid existing fields
    				for _, exist := used[goid]; exist; _, exist = used[goid] {
    					goid = "_" + goid
    				}
    
    				used[goid] = true
    				ident[cid] = goid
    			}
    		}
    	}
    
    	anon := 0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	{GOOS: "linux", GOARCH: "amd64"},
    	{GOOS: "linux", GOARCH: "arm", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "arm"},
    	{GOOS: "darwin", GOARCH: "amd64", CgoEnabled: true},
    	{GOOS: "darwin", GOARCH: "amd64"},
    	{GOOS: "darwin", GOARCH: "arm64", CgoEnabled: true},
    	{GOOS: "darwin", GOARCH: "arm64"},
    	{GOOS: "windows", GOARCH: "amd64"},
    	{GOOS: "windows", GOARCH: "386"},
    	{GOOS: "freebsd", GOARCH: "386", CgoEnabled: true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. src/cmd/asm/doc.go

    The same assembler is used for all target operating systems and architectures.
    The GOOS and GOARCH environment variables set the desired target.
    
    Flags:
    
    	-D name[=value]
    		Predefine symbol name with an optional simple value.
    		Can be repeated to define multiple symbols.
    	-I dir1 -I dir2
    		Search for #include files in dir1, dir2, etc,
    		after consulting $GOROOT/pkg/$GOOS_$GOARCH.
    	-S
    		Print assembly and machine code.
    	-V
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  7. cmd/update_test.go

    		},
    		{
    			envName:     "MESOS_CONTAINER_NAME",
    			envValue:    "mesos-11111",
    			mode:        globalMinioModeErasure,
    			expectedStr: fmt.Sprintf("MinIO (%s; %s; %s; %s; source DEVELOPMENT.GOGET DEVELOPMENT.GOGET DEVELOPMENT.GOGET universe-%s", runtime.GOOS, runtime.GOARCH, globalMinioModeErasure, "dcos", "mesos-1111"),
    		},
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  8. internal/http/listener_test.go

    			}
    		}
    		if listener != nil {
    			listener.Close()
    		}
    	}
    }
    
    func TestHTTPListenerStartClose(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip()
    	}
    
    	nonLoopBackIP := getNonLoopBackIP(t)
    
    	testCases := []struct {
    		serverAddrs []string
    	}{
    		{[]string{"localhost:0"}},
    		{[]string{nonLoopBackIP + ":0"}},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 12 16:09:28 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/buildid_linux.go

    		if err != nil {
    			t.Logf("reading data of note section %d: %v", i, err)
    			continue
    		}
    
    		for len(d) > 0 {
    
    			// ELF standards differ as to the sizes in
    			// note sections.  Both the GNU linker and
    			// gold always generate 32-bit sizes, so that
    			// is what we assume here.
    
    			if len(d) < 12 {
    				t.Logf("note section %d too short (%d < 12)", i, len(d))
    				continue sections
    			}
    
    			namesz := f.ByteOrder.Uint32(d)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. internal/disk/stat_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"os"
    	"reflect"
    	"runtime"
    	"testing"
    )
    
    func TestReadDriveStats(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip("skipping this test in windows")
    	}
    	testCases := []struct {
    		stat            string
    		expectedIOStats IOStats
    		expectErr       bool
    	}{
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top