Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for from (0.15 sec)

  1. src/cmd/cgo/doc.go

    containing debug information. Cgo parses the DWARF debug information
    for __cgo__N to learn the type of each identifier. (The types also
    distinguish functions from global variables.) Cgo reads the constant
    values from the __cgodebug_* from the object file's data segment.
    
    At this point cgo knows the meaning of each C.xxx well enough to start
    the translation process.
    
    Translating Go
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    			buf.WriteRune(r)
    		}
    	}
    }
    
    // From Issue 5154.
    func BenchmarkBufferNotEmptyWriteRead(b *testing.B) {
    	buf := make([]byte, 1024)
    	for i := 0; i < b.N; i++ {
    		var b Buffer
    		b.Write(buf[0:1])
    		for i := 0; i < 5<<10; i++ {
    			b.Write(buf)
    			b.Read(buf)
    		}
    	}
    }
    
    // Check that we don't compact too often. From Issue 5154.
    func BenchmarkBufferFullSmallReads(b *testing.B) {
    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)
  3. doc/go1.17_spec.html

    </p>
    
    
    <h3 id="Slice_expressions">Slice expressions</h3>
    
    <p>
    Slice expressions construct a substring or slice from a string, array, pointer
    to array, or slice. There are two variants: a simple form that specifies a low
    and high bound, and a full form that also specifies a bound on the capacity.
    </p>
    
    <h4>Simple slice expressions</h4>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    // never the receiver, and has the effect of shutting down the channel after
    // the last sent value is received. After the last value has been received
    // from a closed channel c, any receive from c will succeed without
    // blocking, returning the zero value for the channel element. The form
    //
    //	x, ok := <-c
    //
    // will also set ok to false for a closed and empty channel.
    func close(c chan<- Type)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/archive/zip/reader_test.go

    	}
    }
    
    func TestCVE202139293(t *testing.T) {
    	// directory size is so large, that the check in Reader.init
    	// overflows when subtracting from the archive size, causing
    	// the pre-allocation check to be bypassed.
    	data := []byte{
    		0x50, 0x4b, 0x06, 0x06, 0x05, 0x06, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x4b,
    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)
  6. doc/go_spec.html

    </p>
    
    
    <h3 id="Slice_expressions">Slice expressions</h3>
    
    <p>
    Slice expressions construct a substring or slice from a string, array, pointer
    to array, or slice. There are two variants: a simple form that specifies a low
    and high bound, and a full form that also specifies a bound on the capacity.
    </p>
    
    <h4>Simple slice expressions</h4>
    
    <p>
    The primary expression
    </p>
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. doc/README.md

    	[CL 6789](/cl/6789)                # Gerrit changelists
    
    ## For the release team
    
    At the start of a release development cycle, the contents of `next` should be deleted
    and replaced with those of `initial`. From the repo root:
    
        > cd doc
        > rm -r next/*
        > cp -r initial/* next
    
    Then edit `next/1-intro.md` to refer to the next version.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    			if start < 0 {
    				start = i
    			}
    		}
    		i += size
    	}
    
    	// Last field might end at EOF.
    	if start >= 0 {
    		spans = append(spans, span{start, len(s)})
    	}
    
    	// Create subslices from recorded field indices.
    	a := make([][]byte, len(spans))
    	for i, span := range spans {
    		a[i] = s[span.start:span.end:span.end]
    	}
    
    	return a
    }
    
    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)
  9. src/cmd/asm/internal/asm/parse.go

    		}
    		return tok
    	}
    }
    
    // line consumes a single assembly line from p.lex of the form
    //
    //	{label:} WORD[.cond] [ arg {, arg} ] (';' | '\n')
    //
    // It adds any labels to p.pendingLabels and returns the word, cond,
    // operand list, and true. If there is an error or EOF, it returns
    // ok=false.
    //
    // line may reuse the memory from scratch.
    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)
  10. doc/next/6-stdlib/2-unique.md

    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
Back to top