Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for iter (0.24 sec)

  1. doc/next/6-stdlib/3-iter.md

    ### Iterators
    
    The new [`iter` package](/pkg/iter/) provides the basic definitions for
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon May 06 20:33:25 GMT 2024
    - 124 bytes
    - Viewed (0)
  2. api/next/61897.txt

    pkg iter, func Pull2[$0 interface{}, $1 interface{}](Seq2[$0, $1]) (func() ($0, $1, bool), func()) #61897
    pkg iter, func Pull[$0 interface{}](Seq[$0]) (func() ($0, bool), func()) #61897
    pkg iter, type Seq2[$0 interface{}, $1 interface{}] func(func($0, $1) bool) #61897
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon May 06 20:33:25 GMT 2024
    - 331 bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/iter/61897.md

    <!-- see ../../3-iter.md -->...
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon May 06 20:33:25 GMT 2024
    - 29 bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    must either all be present or all be absent. If present, each name
    stands for one item (parameter or result) of the specified type and
    all non-<a href="#Blank_identifier">blank</a> names in the signature
    must be <a href="#Uniqueness_of_identifiers">unique</a>.
    If absent, each type stands for one item of that type.
    Parameter and result
    lists are always parenthesized except that if there is exactly
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    		p.lineNum = p.lex.Line()
    		switch tok {
    		case '\n', ';':
    			continue
    		case scanner.EOF:
    			return "", "", nil, false
    		}
    		break
    	}
    	// First item must be an identifier.
    	if tok != scanner.Ident {
    		p.errorf("expected identifier, found %q", p.lex.Text())
    		return "", "", nil, false // Might as well stop now.
    	}
    	word, cond = p.lex.Text(), ""
    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)
  6. src/cmd/asm/internal/lex/input.go

    	// The usual case is caught by Push, below, but be safe.
    	for nesting := 0; nesting < 100; {
    		tok := in.Stack.Next()
    		switch tok {
    		case '#':
    			if !in.beginningOfLine {
    				in.Error("'#' must be first item on line")
    			}
    			in.beginningOfLine = in.hash()
    			in.text = "#"
    			return '#'
    
    		case scanner.Ident:
    			// Is it a macro name?
    			name := in.Stack.Text()
    			macro := in.macros[name]
    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)
  7. doc/go_spec.html

    must either all be present or all be absent. If present, each name
    stands for one item (parameter or result) of the specified type and
    all non-<a href="#Blank_identifier">blank</a> names in the signature
    must be <a href="#Uniqueness_of_identifiers">unique</a>.
    If absent, each type stands for one item of that type.
    Parameter and result
    lists are always parenthesized except that if there is exactly
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. doc/go_mem.html

    the number of items in the channel corresponds to the number of active uses,
    the capacity of the channel corresponds to the maximum number of simultaneous uses,
    sending an item acquires the semaphore, and receiving an item releases
    the semaphore.
    This is a common idiom for limiting concurrency.
    </p>
    
    <p>
    This program starts a goroutine for every entry in the work list, but the
    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)
  9. src/cmd/asm/internal/lex/lex.go

    // Package lex implements lexical analysis for the assembler.
    package lex
    
    import (
    	"fmt"
    	"log"
    	"os"
    	"strings"
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A ScanToken represents an input item. It is a simple wrapping of rune, as
    // returned by text/scanner.Scanner, plus a couple of extra values.
    type ScanToken rune
    
    const (
    	// Asm defines some two-character lexemes. We make up
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/lex_test.go

    		}
    		buf.WriteString(input.Text())
    	}
    }
    
    type badLexTest struct {
    	input string
    	error string
    }
    
    var badLexTests = []badLexTest{
    	{
    		"3 #define foo bar\n",
    		"'#' must be first item on line",
    	},
    	{
    		"#ifdef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifndef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifdef foo\nhello\n#else\nbye",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top