Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Younis (0.17 sec)

  1. src/bufio/bufio_test.go

    	}
    	b1.Flush()
    	if w1 != 3 {
    		t.Fatalf("flush 1200 + 1389 'x's: got %d writes, want 3", w1)
    	}
    }
    
    // A writeCountingDiscard is like io.Discard and counts the number of times
    // Write is called on it.
    type writeCountingDiscard int
    
    func (w *writeCountingDiscard) Write(p []byte) (int, error) {
    	*w++
    	return len(p), nil
    }
    
    type negativeReader int
    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)
  2. src/archive/tar/common.go

    	Uid   int    // User ID of owner
    	Gid   int    // Group ID of owner
    	Uname string // User name of owner
    	Gname string // Group name of owner
    
    	// If the Format is unspecified, then Writer.WriteHeader rounds ModTime
    	// to the nearest second and ignores the AccessTime and ChangeTime fields.
    	//
    	// To use AccessTime or ChangeTime, specify the Format as PAX or GNU.
    	// To use sub-second resolution, specify the Format as PAX.
    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)
  3. src/cmd/cgo/gcc.go

    	case *dwarf.TypedefType:
    		// Record typedef for printing.
    		if dt.Name == "_GoString_" {
    			// Special C name for Go string type.
    			// Knows string layout used by compilers: pointer plus length,
    			// which rounds up to 2 pointers after alignment.
    			t.Go = c.string
    			t.Size = c.ptrSize * 2
    			t.Align = c.ptrSize
    			break
    		}
    		if dt.Name == "_GoBytes_" {
    			// Special C name for Go []byte type.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    	na := 0
    	for len(s) > 0 {
    		if na+1 >= n {
    			a[na] = s
    			na++
    			break
    		}
    		_, size = utf8.DecodeRune(s)
    		a[na] = s[0:size:size]
    		s = s[size:]
    		na++
    	}
    	return a[0:na]
    }
    
    // Count counts the number of non-overlapping instances of sep in s.
    // If sep is an empty slice, Count returns 1 + the number of UTF-8-encoded code points in s.
    func Count(s, sep []byte) int {
    	// special case
    	if len(sep) == 0 {
    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)
  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/cmd/asm/internal/asm/parse.go

    			} else if nextReg != int(reg) {
    				p.errorf("incontiguous register in ARM64 register list: %s", name)
    			}
    			regCnt++
    			nextReg = (nextReg + 1) % 32
    		case sys.ARM:
    			// Parse the upper and lower bounds.
    			lo := p.registerNumber(tok.String())
    			hi := lo
    			if p.peek() == '-' {
    				p.next()
    				hi = p.registerNumber(p.next().String())
    			}
    			if hi < lo {
    				lo, hi = hi, lo
    			}
    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)
Back to top