Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for have (0.12 sec)

  1. src/archive/zip/writer.go

    		// which the writeHeader method always encodes for the size fields.
    		// This is necessary as most compression formats have non-zero lengths
    		// even when compressing an empty string.
    		fh.Method = Store
    		fh.Flags &^= 0x8 // we will not write a data descriptor
    
    		// Explicitly clear sizes as they have no meaning for directories.
    		fh.CompressedSize = 0
    		fh.CompressedSize64 = 0
    		fh.UncompressedSize = 0
    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)
  2. src/archive/tar/writer_test.go

    		//	---------- 0/0               0 1969-12-31 16:00
    		//	gnutar: Substituting `.' for empty member name
    		//	---------- 0/0               0 2014-05-13 09:53
    		//
    		// According to the PAX specification, this should have been the result:
    		//	---------- 0/0               0 2017-07-13 19:40 global1
    		//	---------- 0/0               0 2017-07-13 19:40 file2
    		//	---------- 0/0               0 2017-07-13 19:40 file3
    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)
  3. src/bufio/bufio.go

    // The buffer is only valid until the next write operation on b.
    func (b *Writer) AvailableBuffer() []byte {
    	return b.buf[b.n:][:0]
    }
    
    // Buffered returns the number of bytes that have been written into the current buffer.
    func (b *Writer) Buffered() int { return b.n }
    
    // Write writes the contents of p into the buffer.
    // It returns the number of bytes written.
    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)
  4. misc/ios/go_ios_exec.go

    		src := filepath.Join(cwd, pkgpath)
    		if err := copyLocalDir(dst, src); err != nil {
    			return "", err
    		}
    	}
    
    	if underGoRoot {
    		// Copy timezone file.
    		//
    		// Typical apps have the zoneinfo.zip in the root of their app bundle,
    		// read by the time package as the working directory at initialization.
    		// As we move the working directory to the GOROOT pkg directory, we
    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)
  5. src/cmd/asm/internal/asm/endtoend_test.go

    			codeHex = "empty"
    		}
    		ok := false
    		for _, hex := range strings.Split(hexes, " or ") {
    			if codeHex == hex {
    				ok = true
    				break
    			}
    		}
    		if !ok {
    			t.Errorf("%s: have encoding %s, want %s", p, codeHex, hexes)
    		}
    	}
    
    	if len(hexByLine) > 0 {
    		var missing []string
    		for key := range hexByLine {
    			missing = append(missing, key)
    		}
    		sort.Strings(missing)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  6. src/cmd/api/main_test.go

    			if methodNames == nil {
    				methodNames = make(map[string]bool)
    			}
    			methodNames[m.Obj().Name()] = true
    		}
    	}
    
    	// emit methods with pointer receiver; exclude
    	// methods that we have emitted already
    	// (the method set of *T includes the methods of T)
    	pset := types.NewMethodSet(types.NewPointer(typ))
    	for i, n := 0, pset.Len(); i < n; i++ {
    		m := pset.At(i)
    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)
  7. src/cmd/asm/internal/asm/asm.go

    					return
    				}
    				// For ARM64 CASP-like instructions, its 2nd destination operand is register pair(Rt, Rt+1) that can
    				// not fit into prog.RegTo2, so save it to the prog.RestArgs.
    				prog.AddRestDest(a[2])
    			default:
    				prog.From = a[0]
    				prog.Reg = p.getRegister(prog, op, &a[1])
    				prog.To = a[2]
    			}
    		case sys.I386:
    			prog.From = a[0]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top