Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 255 for uspace (0.15 sec)

  1. src/internal/trace/raw/textreader.go

    		return nil, fmt.Errorf("unknown or unsupported Go version 1.%d", v)
    	}
    	tr.v = v
    	tr.specs = v.Specs()
    	tr.names = event.Names(tr.specs)
    	for _, r := range line {
    		if !unicode.IsSpace(r) {
    			return nil, fmt.Errorf("encountered unexpected non-space at the end of the header: %q", line)
    		}
    	}
    	return tr, nil
    }
    
    // Version returns the version of the trace that we're reading.
    func (r *TextReader) Version() version.Version {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/util.go

    	names []string
    }
    
    // Not even worth sorting
    var aSpace []opSet
    
    // RegisterOpcode binds a list of instruction names
    // to a given instruction number range.
    func RegisterOpcode(lo As, Anames []string) {
    	if len(Anames) > AllowedOpCodes {
    		panic(fmt.Sprintf("too many instructions, have %d max %d", len(Anames), AllowedOpCodes))
    	}
    	aSpace = append(aSpace, opSet{lo, Anames})
    }
    
    func (a As) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/mime/mediatype.go

    	rest = strings.TrimLeftFunc(v, unicode.IsSpace)
    	if !strings.HasPrefix(rest, ";") {
    		return "", "", v
    	}
    
    	rest = rest[1:] // consume semicolon
    	rest = strings.TrimLeftFunc(rest, unicode.IsSpace)
    	param, rest = consumeToken(rest)
    	param = strings.ToLower(param)
    	if param == "" {
    		return "", "", v
    	}
    
    	rest = strings.TrimLeftFunc(rest, unicode.IsSpace)
    	if !strings.HasPrefix(rest, "=") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    		line = line[:i]
    	}
    
    	verb := line
    	if i := strings.IndexFunc(verb, unicode.IsSpace); i >= 0 {
    		verb = verb[:i]
    		if line[i] != ' ' && line[i] != '\t' && line[i] != '\n' {
    			r, _ := utf8.DecodeRuneInString(line[i:])
    			check.pass.Reportf(pos, "invalid space %#q in %s directive", r, verb)
    		}
    	}
    
    	switch verb {
    	default:
    		// TODO: Use the go language version for the file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/go/build/read.go

    	for _, r := range s {
    		if !unicode.IsGraphic(r) || unicode.IsSpace(r) || strings.ContainsRune(illegalChars, r) {
    			return false
    		}
    	}
    	return s != ""
    }
    
    // parseGoEmbed parses the text following "//go:embed" to extract the glob patterns.
    // It accepts unquoted space-separated patterns as well as double-quoted and back-quoted Go strings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils.go

    }
    
    // Trim leading and trailing spaces and replace sequential spaces with one space, following Trimall()
    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    	// Compress adjacent spaces (a space is determined by
    	// unicode.IsSpace() internally here) to one space and return
    	return strings.Join(strings.Fields(input), " ")
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/runtime/syscall_windows.go

    // this assumes the four fastcall registers were first spilled
    // to the shadow space.
    type abiDesc struct {
    	parts []abiPart
    
    	srcStackSize uintptr // stdcall/fastcall stack space tracking
    	dstStackSize uintptr // Go stack space used
    	dstSpill     uintptr // Extra stack space for argument spill slots
    	dstRegisters int     // Go ABI int argument registers used
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/runtime/malloc.go

    	// provide addresses outside of those 33 bits. Pick 40 bits
    	// as a reasonable balance between address space usage by the
    	// page allocator, and flexibility for what mmap'd regions
    	// we'll accept for the heap. We can't just move to the full
    	// 48 bits because this uses too much address space for older
    	// iOS versions.
    	// TODO(mknyszek): Once iOS <14 is deprecated, promote ios/arm64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/encoding/csv/reader.go

    	// non-doubled quote may appear in a quoted field.
    	LazyQuotes bool
    
    	// If TrimLeadingSpace is true, leading white space in a field is ignored.
    	// This is done even if the field delimiter, Comma, is white space.
    	TrimLeadingSpace bool
    
    	// ReuseRecord controls whether calls to Read may return a slice sharing
    	// the backing array of the previous call's returned slice for performance.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. internal/ringbuffer/README.md

    Regular Reads will block until data is available, but not wait for a full buffer. 
    Writes will block until there is space available and writes bigger than the buffer will wait for reads to make space.
    
    `TryRead` and `TryWrite` are still available for non-blocking reads and writes.
    
    To signify the end of the stream, close the ring buffer from the writer side with `rb.CloseWriter()`
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top