Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for link (0.26 sec)

  1. src/bytes/bytes_test.go

    	{" Aaa Aaa Aaa ", " Aaa Aaa Aaa "},
    	{"123a456", "123a456"},
    	{"double-blind", "Double-Blind"},
    	{"ÿøû", "Ÿøû"},
    	{"with_underscore", "With_underscore"},
    	{"unicode \xe2\x80\xa8 line separator", "Unicode \xe2\x80\xa8 Line Separator"},
    }
    
    func TestTitle(t *testing.T) {
    	for _, tt := range TitleTests {
    		if s := string(Title([]byte(tt.in))); s != tt.out {
    			t.Errorf("Title(%q) = %q, want %q", tt.in, s, tt.out)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	globalIsDistErasure = false
    
    	// Disable printing console messages during tests.
    	color.Output = io.Discard
    	// Disable Error logging in testing.
    	logger.DisableErrorLog = true
    
    	// Uncomment the following line to see trace logs during unit tests.
    	// logger.AddTarget(console.New())
    
    	// Set system resources to maximum.
    	setMaxResources(nil)
    
    	// Initialize globalConsoleSys system
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    		// upload an object such as `prefix/object/xl.meta`
    		// where `prefix/object` is already an object
    		if isSysErrNotDir(err) && runtime.GOOS != globalWindowsOSName {
    			// NOTE: On windows the error happens at
    			// next line and returns appropriate error.
    			return res, errFileAccessDenied
    		}
    		if !osIsNotExist(err) {
    			return res, osErrToFileErr(err)
    		}
    		if formatLegacy {
    			// errFileNotFound comes here.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    				offline++
    			}
    		}
    		if offline > 0 {
    			tags["offline"] = offline
    		}
    
    		_, file, line, cok := runtime.Caller(1)
    		if cok {
    			tags["caller"] = fmt.Sprintf("%s:%d", file, line)
    		}
    
    		defer auditDanglingObjectDeletion(ctx, bucket, object, m.VersionID, tags)
    
    		err = errFileNotFound
    		if opts.VersionID != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. src/cmd/cgo/gcc.go

    	b.WriteString(f.Preamble)
    	stdout := p.gccDefines(b.Bytes())
    
    	for _, line := range strings.Split(stdout, "\n") {
    		if len(line) < 9 || line[0:7] != "#define" {
    			continue
    		}
    
    		line = strings.TrimSpace(line[8:])
    
    		var key, val string
    		spaceIndex := strings.Index(line, " ")
    		tabIndex := strings.Index(line, "\t")
    
    		if spaceIndex == -1 && tabIndex == -1 {
    			continue
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    	}
    	data = data[len(line):]
    	line, isPrefix, err = l.ReadLine()
    	if isPrefix || !bytes.Equal(line, data[:minReadBufferSize/2]) || err != nil {
    		t.Errorf("bad result for third line: got %q want %q %v", line, data[:minReadBufferSize/2], err)
    	}
    	line, isPrefix, err = l.ReadLine()
    	if isPrefix || err == nil {
    		t.Errorf("expected no more lines: %x %s", line, err)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    		// one of these values, and verify that that's also an
    		// error. Currently, the reader code doesn't verify the
    		// fileheader and TOC's crc32 match if they're both
    		// non-zero and only the second line above, the TOC,
    		// is what matters.
    	})
    }
    
    // rZipBytes returns the bytes of a recursive zip file, without
    // putting it on disk and triggering certain virus scanners.
    func rZipBytes() []byte {
    	s := `
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top