Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Ward (0.17 sec)

  1. src/cmd/asm/internal/lex/slice.go

    	//	#define A #define B(x) x
    	// and
    	//	#define A #define B (x) x
    	// The first definition of B has an argument, the second doesn't. Because we let
    	// text/scanner strip the blanks for us, this is extremely rare, hard to fix, and not worth it.
    	return s.pos
    }
    
    func (s *Slice) Close() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    			Name:     "sticky.txt",
    			Mode:     0600 | c_ISVTX,
    			Size:     7,
    			ModTime:  time.Unix(1360602540, 0),
    			Typeflag: TypeReg,
    		},
    		fm: 0600 | fs.ModeSticky,
    	}, {
    		// hard link.
    		h: &Header{
    			Name:     "hard.txt",
    			Mode:     0644,
    			Size:     0,
    			Linkname: "file.txt",
    			ModTime:  time.Unix(1360600916, 0),
    			Typeflag: TypeLink,
    		},
    		fm: 0644,
    	}, {
    		// More information.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    			testWrite{"hello\n", 6, nil},
    			testClose{nil},
    		},
    	}, {
    		// This file was produced using GNU tar v1.26:
    		//	echo "Slartibartfast" > file.txt
    		//	ln file.txt hard.txt
    		//	tar -b 1 --format=ustar -c -f hardlink.tar file.txt hard.txt
    		file: "testdata/hardlink.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "file.txt",
    				Size:     15,
    				Mode:     0644,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    }
    
    var listCache sync.Map // map[string]listImports, keyed by contextName
    
    // listSem is a semaphore restricting concurrent invocations of 'go list'. 'go
    // list' has its own internal concurrency, so we use a hard-coded constant (to
    // allow the I/O-intensive phases of 'go list' to overlap) instead of scaling
    // all the way up to GOMAXPROCS.
    var listSem = make(chan semToken, 2)
    
    type semToken struct{}
    
    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)
  5. cmd/admin-handlers.go

    		return &m
    	}
    
    	anonymizeCmdLine := func(cmdLine string) string {
    		if anonParam != anonymizeStrict {
    			return cmdLine
    		}
    
    		if !globalIsDistErasure {
    			// FS mode - single server - hard code to `server1`
    			anonCmdLine := strings.ReplaceAll(cmdLine, globalLocalNodeName, "server1")
    			if len(globalMinioConsoleHost) > 0 {
    				anonCmdLine = strings.ReplaceAll(anonCmdLine, globalMinioConsoleHost, "server1")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  6. internal/ioutil/hardlimitreader.go

    // Package ioutil implements some I/O utility functions which are not covered
    // by the standard library.
    package ioutil
    
    import (
    	"errors"
    	"io"
    )
    
    // ErrOverread is returned to the reader when the hard limit of HardLimitReader is exceeded.
    var ErrOverread = errors.New("input provided more bytes than specified")
    
    // HardLimitReader returns a Reader that reads from r
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. cmd/erasure-coding.go

    	}
    	return tillOffset
    }
    
    // erasureSelfTest performs a self-test to ensure that erasure
    // algorithms compute expected erasure codes. If any algorithm
    // produces an incorrect value it fails with a hard error.
    //
    // erasureSelfTest tries to catch any issue in the erasure implementation
    // early instead of silently corrupting data.
    func erasureSelfTest() {
    	// Approx runtime ~1ms
    	var testConfigs [][2]uint8
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    const (
    	// Type '0' indicates a regular file.
    	TypeReg = '0'
    
    	// Deprecated: Use TypeReg instead.
    	TypeRegA = '\x00'
    
    	// Type '1' to '6' are header-only flags and may not have a data body.
    	TypeLink    = '1' // Hard link
    	TypeSymlink = '2' // Symbolic link
    	TypeChar    = '3' // Character device node
    	TypeBlock   = '4' // Block device node
    	TypeDir     = '5' // Directory
    	TypeFifo    = '6' // FIFO node
    
    	// Type '7' is reserved.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. cmd/xl-storage-format_test.go

    	// Number of checksum info == total parts.
    	xlMeta.Erasure.Checksums = make([]ChecksumInfo, totalParts)
    	// total number of parts.
    	xlMeta.Parts = make([]ObjectPartInfo, totalParts)
    	for i := 0; i < totalParts; i++ {
    		// hard coding hash and algo value for the checksum, Since we are benchmarking the parsing of xl.meta the magnitude doesn't affect the test,
    		// The magnitude doesn't make a difference, only the size does.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    	if parent, ok := jniTypes[dt.Name]; ok {
    		// Try to make sure we're talking about a JNI type, not just some random user's
    		// type that happens to use the same name.
    		// C doesn't have the notion of a package, so it's hard to be certain.
    
    		// Walk up to jobject, checking each typedef on the way.
    		w := dt
    		for parent != "" {
    			t, ok := w.Type.(*dwarf.TypedefType)
    			if !ok || t.Name != parent {
    				return false
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top