Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Ward (0.22 sec)

  1. src/bufio/bufio_test.go

    	b.WriteString("0")                         // easy
    	b.WriteString("123456")                    // still easy
    	b.WriteString("7890")                      // easy after flush
    	b.WriteString("abcdefghijklmnopqrstuvwxy") // hard
    	b.WriteString("z")
    	if err := b.Flush(); err != nil {
    		t.Error("WriteString", err)
    	}
    	s := "01234567890abcdefghijklmnopqrstuvwxyz"
    	if buf.String() != s {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. 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 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  3. 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. src/archive/tar/testdata/hardlink.tar

    file.txt Slartibartfast hard.txt...
    TAR Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jun 26 15:51:06 GMT 2015
    - 2.5K bytes
    - Viewed (0)
  5. doc/asm.html

    in an assembly source file within the math/rand package implementation,
    the package's Int function can be referred to as <code>·Int</code>.
    This convention avoids the need to hard-code a package's import path in its
    own source code, making it easier to move the code from one location to another.
    </p>
    
    <h3 id="directives">Directives</h3>
    
    <p>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue26213/jni.h

    // 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.
    
    // It's going to be hard to include a whole real JVM to test this.
    // So we'll simulate a really easy JVM using just the parts we need.
    
    // This is the relevant part of jni.h.
    
    // On Android NDK16, jobject is defined like this in C and C++
    typedef void* jobject;
    
    typedef jobject jclass;
    C
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 874 bytes
    - Viewed (0)
  7. 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  8. 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 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. 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 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. 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 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top