Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Blaser (0.27 sec)

  1. src/cmd/cgo/ast.go

    		}
    	}
    }
    
    // Save various references we are going to need later.
    func (f *File) saveExprs(x interface{}, context astContext) {
    	switch x := x.(type) {
    	case *ast.Expr:
    		switch (*x).(type) {
    		case *ast.SelectorExpr:
    			f.saveRef(x, context)
    		}
    	case *ast.CallExpr:
    		f.saveCall(x, context)
    	}
    }
    
    // Save references to C.xxx for later processing.
    func (f *File) saveRef(n *ast.Expr, context astContext) {
    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)
  2. src/cmd/cgo/doc.go

    parsing these is significantly less work and more robust than parsing
    C source.
    
    Cgo first invokes gcc -E -dM on the preamble, in order to find out
    about simple #defines for constants and the like. These are recorded
    for later use.
    
    Next, cgo needs to identify the kinds for each identifier. For the
    identifiers C.foo, cgo generates this C program:
    
    	<preamble>
    	#line 1 "not-declared"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    	paxSize     = "size"
    	paxUid      = "uid"
    	paxGid      = "gid"
    	paxUname    = "uname"
    	paxGname    = "gname"
    	paxMtime    = "mtime"
    	paxAtime    = "atime"
    	paxCtime    = "ctime"   // Removed from later revision of PAX spec, but was valid
    	paxCharset  = "charset" // Currently unused
    	paxComment  = "comment" // Currently unused
    
    	paxSchilyXattr = "SCHILY.xattr."
    
    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)
  4. src/bytes/buffer.go

    // delim.
    func (b *Buffer) ReadBytes(delim byte) (line []byte, err error) {
    	slice, err := b.readSlice(delim)
    	// return a copy of slice. The buffer's backing array may
    	// be overwritten by later calls.
    	line = append(line, slice...)
    	return line, err
    }
    
    // readSlice is like ReadBytes but returns a reference to internal buffer data.
    func (b *Buffer) readSlice(delim byte) (line []byte, err error) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    		cnt, _ := io.ReadFull(tr, []byte{0})
    		if cnt > 0 && hdr.Typeflag != TypeReg {
    			t.Errorf("ReadFull(...): got %d bytes, want 0 bytes", cnt)
    		}
    	}
    
    	// File is crafted with 16 entries. The later 8 are identical to the first
    	// 8 except that the size is set.
    	if len(hdrs) != 16 {
    		t.Fatalf("len(hdrs): got %d, want %d", len(hdrs), 16)
    	}
    	for i := 0; i < 8; i++ {
    		hdr1, hdr2 := hdrs[i+0], hdrs[i+8]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  6. misc/ios/go_ios_exec.go

    		return err
    	}
    
    	// Kill any hanging debug bridges that might take up port 3222.
    	exec.Command("killall", "idevicedebugserverproxy").Run()
    
    	closer, err := startDebugBridge()
    	if err != nil {
    		return err
    	}
    	defer closer()
    
    	return runDevice(appdir, bundleID, os.Args[2:])
    }
    
    func getenv(envvar string) string {
    	s := os.Getenv(envvar)
    	if s == "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    // Calling b.Reset(b) (that is, resetting a [Reader] to itself) does nothing.
    func (b *Reader) Reset(r io.Reader) {
    	// If a Reader r is passed to NewReader, NewReader will return r.
    	// Different layers of code may do that, and then later pass r
    	// to Reset. Avoid infinite recursion in that case.
    	if b == r {
    		return
    	}
    	if b.buf == nil {
    		b.buf = make([]byte, defaultBufSize)
    	}
    	b.reset(b.buf, r)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  8. src/archive/zip/writer.go

    		b.uint16(h.ModifiedTime)
    		b.uint16(h.ModifiedDate)
    		b.uint32(h.CRC32)
    		if h.isZip64() || h.offset >= uint32max {
    			// the file needs a zip64 header. store maxint in both
    			// 32 bit size fields (and offset later) to signal that the
    			// zip64 extra header should be used.
    			b.uint32(uint32max) // compressed size
    			b.uint32(uint32max) // uncompressed size
    
    			// append a zip64 extra block to Extra
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top