Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for Must (0.15 sec)

  1. doc/README.md

    corresponding to standard library package paths, and headings for those package
    paths will be generated automatically.
    
    Files in this repo's `api/next` directory must have corresponding files in
    `doc/next/*stdlib/*minor`.
    The files should be in the subdirectory for the package with the new
    API, and should be named after the issue number of the API proposal.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    		t.Errorf("%v: OpenRaw returned unexpected bytes", f.Name)
    		return
    	}
    
    	r, err := f.Open()
    	if err != nil {
    		t.Errorf("%v", err)
    		return
    	}
    
    	// For very large files, just check that the size is correct.
    	// The content is expected to be all zeros.
    	// Don't bother uncompressing: too big.
    	if ft.Content == nil && ft.File == "" && ft.Size > 0 {
    		if size != ft.Size {
    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)
  3. src/archive/tar/common.go

    			return false // Integer overflow with large length
    		case cur.endOffset() > size:
    			return false // Region extends beyond the actual size
    		case pre.endOffset() > cur.Offset:
    			return false // Regions cannot overlap and must be in order
    		}
    		pre = cur
    	}
    	return true
    }
    
    // alignSparseEntries mutates src and returns dst where each fragment's
    // starting offset is aligned up to the nearest block edge, and each
    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. doc/go_mem.html

    Some compiler optimizations that would be valid in single-threaded programs are not valid in all Go programs.
    In particular, a compiler must not introduce writes that do not exist in the original program,
    it must not allow a single read to observe multiple values,
    and it must not allow a single write to write multiple values.
    </p>
    
    <p>
    All the following examples assume that `*p` and `*q` refer to
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    // The file contents will be compressed using the [Deflate] method.
    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name.
    // The file's contents must be written to the [io.Writer] before the next
    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)
  6. src/bytes/bytes.go

    // sep is placed between elements in the resulting slice.
    func Join(s [][]byte, sep []byte) []byte {
    	if len(s) == 0 {
    		return []byte{}
    	}
    	if len(s) == 1 {
    		// Just return a copy.
    		return append([]byte(nil), s[0]...)
    	}
    
    	var n int
    	if len(sep) > 0 {
    		if len(sep) >= maxInt/(len(s)-1) {
    			panic("bytes: Join output length overflow")
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  7. src/archive/zip/zip_test.go

    			memset(p[n:n+repeat], part.b)
    			n += repeat
    			if n == len(p) {
    				return
    			}
    			skipBytes = 0
    		}
    	}
    	if n != len(p) {
    		err = io.ErrUnexpectedEOF
    	}
    	return
    }
    
    // Just testing the rleBuffer used in the Zip64 test above. Not used by the zip code.
    func TestRLEBuffer(t *testing.T) {
    	b := new(rleBuffer)
    	var all []byte
    	writes := []string{"abcdeee", "eeeeeee", "eeeefghaaiii"}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/asm.go

    				prog.To = a[2]
    				break
    			}
    			if arch.IsARMBFX(op) {
    				// a[0] and a[1] must be constants, a[2] must be a register
    				prog.From = a[0]
    				prog.AddRestSource(a[1])
    				prog.To = a[2]
    				break
    			}
    			// Otherwise the 2nd operand (a[1]) must be a register.
    			prog.From = a[0]
    			prog.Reg = p.getRegister(prog, op, &a[1])
    			prog.To = a[2]
    		case sys.AMD64:
    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)
  9. src/cmd/asm/internal/asm/testdata/arm.s

    //			(($7 & 15) << 12) |	/* arm register */
    //			(($9 & 15) << 16) |	/* Crn */
    //			(($11 & 15) << 0) |	/* Crm */
    //			(($12 & 7) << 5) |	/* coprocessor information */
    //			(1<<4));			/* must be set */
    //		outcode(AMRC, Always, &nullgen, 0, &g);
    //	}
    	MRC.S	4, 6, R1, C2, C3, 7 // MRC $8301712627
    	MCR.S	4, 6, R1, C2, C3, 7 // MRC $8300664051
    
    //
    // MULL r1,r2,(hi,lo)
    //
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 15 20:51:01 GMT 2023
    - 69K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    				gnuLongLink = p.parseString(realname)
    			}
    			continue // This is a meta header affecting the next header
    		default:
    			// The old GNU sparse format is handled here since it is technically
    			// just a regular file with additional attributes.
    
    			if err := mergePAX(hdr, paxHdrs); err != nil {
    				return nil, err
    			}
    			if gnuLongName != "" {
    				hdr.Name = gnuLongName
    			}
    			if gnuLongLink != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top