Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Content (0.26 sec)

  1. src/archive/zip/reader_test.go

    	// Information describing expected zip file content.
    	// First, reading the entire content should produce the error ContentErr.
    	// Second, if ContentErr==nil, the content should match Content.
    	// If content is large, an alternative to setting Content is to set File,
    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    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)
  2. src/bufio/bufio_test.go

    			w.Reset()
    			buf := NewWriterSize(w, bs)
    			context := fmt.Sprintf("nwrite=%d bufsize=%d", nwrite, bs)
    			n, e1 := buf.Write(data[0:nwrite])
    			if e1 != nil || n != nwrite {
    				t.Errorf("%s: buf.Write %d = %d, %v", context, nwrite, n, e1)
    				continue
    			}
    			if e := buf.Flush(); e != nil {
    				t.Errorf("%s: buf.Flush = %v", context, e)
    			}
    
    			written := w.Bytes()
    			if len(written) != nwrite {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    		}
    	}
    	var expr ast.Expr = getNewIdent(r.Name.Mangle) // default
    	switch r.Context {
    	case ctxCall, ctxCall2:
    		if r.Name.Kind != "func" {
    			if r.Name.Kind == "type" {
    				r.Context = ctxType
    				if r.Name.Type == nil {
    					error_(r.Pos(), "invalid conversion to C.%s: undefined C type '%s'", fixGo(r.Name.Go), r.Name.C)
    				}
    				break
    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