Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Schick (0.18 sec)

  1. src/bytes/buffer_test.go

    		check(t, "TestBasicOperations (1)", &buf, "")
    
    		buf.Reset()
    		check(t, "TestBasicOperations (2)", &buf, "")
    
    		buf.Truncate(0)
    		check(t, "TestBasicOperations (3)", &buf, "")
    
    		n, err := buf.Write(testBytes[0:1])
    		if want := 1; err != nil || n != want {
    			t.Errorf("Write: got (%d, %v), want (%d, %v)", n, err, want, nil)
    		}
    		check(t, "TestBasicOperations (4)", &buf, "a")
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    					cg = decl.Doc
    				}
    				if cg != nil {
    					if strings.ContainsAny(abspath, "\r\n") {
    						// This should have been checked when the file path was first resolved,
    						// but we double check here just to be sure.
    						fatalf("internal error: ParseGo: abspath contains unexpected newline character: %q", abspath)
    					}
    					f.Preamble += fmt.Sprintf("#line %d %q\n", sourceLine(cg), abspath)
    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)
  3. api/go1.5.txt

    pkg go/types, method (*Chan) Elem() Type
    pkg go/types, method (*Chan) String() string
    pkg go/types, method (*Chan) Underlying() Type
    pkg go/types, method (*Checker) Files([]*ast.File) error
    pkg go/types, method (*Config) Check(string, *token.FileSet, []*ast.File, *Info) (*Package, error)
    pkg go/types, method (*Const) Exported() bool
    pkg go/types, method (*Const) Id() string
    pkg go/types, method (*Const) Name() string
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) atRegisterShift() bool {
    	// ARM only.
    	if !p.arch.InFamily(sys.ARM, sys.ARM64) {
    		return false
    	}
    	// R1<<...
    	if lex.IsRegisterShift(p.peek()) {
    		return true
    	}
    	// R(1)<<...   Ugly check. TODO: Rethink how we handle ARM register shifts to be
    	// less special.
    	if p.peek() != '(' || len(p.input)-p.inputPos < 4 {
    		return false
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    // The opening parenthesis has been absorbed.
    func (in *Input) argsFor(macro *Macro) map[string][]Token {
    	var args [][]Token
    	// One macro argument per iteration. Collect them all and check counts afterwards.
    	for argNum := 0; ; argNum++ {
    		tokens, tok := in.collectArgument(macro)
    		args = append(args, tokens)
    		if tok == ')' {
    			break
    		}
    	}
    	// Zero-argument macros are tricky.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    		if tr < sr {
    			tr, sr = sr, tr
    		}
    		// ASCII only, sr/tr must be upper/lower case
    		if 'A' <= sr && sr <= 'Z' && tr == sr+'a'-'A' {
    			continue
    		}
    		return false
    	}
    	// Check if we've exhausted both strings.
    	return len(s) == len(t)
    
    hasUnicode:
    	s = s[i:]
    	t = t[i:]
    	for len(s) != 0 && len(t) != 0 {
    		// Extract first rune from each.
    		var sr, tr rune
    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/tar/writer.go

    	case allowedFormats.has(FormatGNU):
    		tw.err = tw.writeGNUHeader(&tw.hdr)
    		return tw.err
    	default:
    		return err // Non-fatal error
    	}
    }
    
    func (tw *Writer) writeUSTARHeader(hdr *Header) error {
    	// Check if we can use USTAR prefix/suffix splitting.
    	var namePrefix string
    	if prefix, suffix, ok := splitUSTARPath(hdr.Name); ok {
    		namePrefix, hdr.Name = prefix, suffix
    	}
    
    	// Pack the main header.
    	var f formatter
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  8. src/archive/zip/zip_test.go

    		}
    	}
    	end := []byte("END\n")
    	_, err = f.Write(end)
    	if err != nil {
    		t.Fatal("write end:", err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// read back zip file and check that we get to the end of it
    	r, err := NewReader(buf, buf.Size())
    	if err != nil {
    		t.Fatal("reader:", err)
    	}
    	f0 := r.File[0]
    	rc, err := f0.Open()
    	if err != nil {
    		t.Fatal("opening:", err)
    	}
    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)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    			// spurious blank caused by Split on "\n"
    			output = output[1:]
    			continue
    		}
    		t.Errorf("unexpected output: %q", output[0])
    		output = output[1:]
    	}
    
    	// Checked printing.
    	// Now check machine code layout.
    
    	top := pList.Firstpc
    	var text *obj.LSym
    	ok = true
    	ctxt.DiagFunc = func(format string, args ...interface{}) {
    		t.Errorf(format, args...)
    		ok = false
    	}
    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)
  10. src/archive/tar/common.go

    				format.mustNotBe(FormatPAX)
    			} else {
    				paxHdrs[paxKey] = formatPAXTime(ts)
    			}
    		}
    		if v, ok := h.PAXRecords[paxKey]; ok && v == formatPAXTime(ts) {
    			paxHdrs[paxKey] = v
    		}
    	}
    
    	// Check basic fields.
    	var blk block
    	v7 := blk.toV7()
    	ustar := blk.toUSTAR()
    	gnu := blk.toGNU()
    	verifyString(h.Name, len(v7.name()), "Name", paxPath)
    	verifyString(h.Linkname, len(v7.linkName()), "Linkname", paxLinkpath)
    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)
Back to top