Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for sets (0.24 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <h3 id="Method_sets">Method sets</h3>
    <p>
    A type has a (possibly empty) <i>method set</i> associated with it.
    The method set of an <a href="#Interface_types">interface type</a> is its interface.
    The method set of any other type <code>T</code> consists of all
    <a href="#Method_declarations">methods</a> declared with receiver type <code>T</code>.
    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)
  2. src/bufio/scan.go

    		s.err = err
    	}
    }
    
    // Buffer sets the initial buffer to use when scanning
    // and the maximum size of buffer that may be allocated during scanning.
    // The maximum token size must be less than the larger of max and cap(buf).
    // If max <= cap(buf), [Scanner.Scan] will use this buffer only and do no allocation.
    //
    // By default, [Scanner.Scan] uses an internal buffer and sets the
    // maximum token size to [MaxScanTokenSize].
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    	// the system's local character encoding happens to be.
    	//
    	// This flag should only be set if the user intends to encode a non-portable
    	// ZIP file for a specific localized region. Otherwise, the Writer
    	// automatically sets the ZIP format's UTF-8 flag for valid UTF-8 strings.
    	NonUTF8 bool
    
    	CreatorVersion uint16
    	ReaderVersion  uint16
    	Flags          uint16
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. misc/cgo/gmp/gmp.go

    func (z *Int) Len() int {
    	z.doinit()
    	return int(C.mpz_sizeinbase(&z.i[0], 2))
    }
    
    // Set sets z = x and returns z.
    func (z *Int) Set(x *Int) *Int {
    	z.doinit()
    	C.mpz_set(&z.i[0], &x.i[0])
    	return z
    }
    
    // SetBytes interprets b as the bytes of a big-endian integer
    // and sets z to that value.
    func (z *Int) SetBytes(b []byte) *Int {
    	z.doinit()
    	if len(b) == 0 {
    		z.SetInt64(0)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    The default pkg-config tool may be changed by setting the PKG_CONFIG environment variable.
    
    For security reasons, only a limited set of flags are allowed, notably -D, -U, -I, and -l.
    To allow additional flags, set CGO_CFLAGS_ALLOW to a regular expression
    matching the new flags. To disallow flags that would otherwise be allowed,
    set CGO_CFLAGS_DISALLOW to a regular expression matching arguments
    that must be disallowed. In both cases the regular expression must match
    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)
  6. doc/go_spec.html

    definition of an interface's type set as follows:
    </p>
    
    <ul>
    	<li>The type set of the empty interface is the set of all non-interface types.
    	</li>
    
    	<li>The type set of a non-empty interface is the intersection of the type sets
    		of its interface elements.
    	</li>
    
    	<li>The type set of a method specification is the set of all non-interface types
    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)
  7. doc/next/6-stdlib/99-minor/os/33357.md

    The [Stat] function now sets the [ModeSocket] bit for
    files that are Unix sockets on Windows. These files are identified
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 178 bytes
    - Viewed (0)
  8. src/archive/tar/reader_test.go

    		}},
    	}, {
    		// This archive was generated by Writer but is readable by both
    		// GNU and BSD tar utilities.
    		// The archive generated by GNU is nearly byte-for-byte identical
    		// to the Go version except the Go version sets a negative Devminor
    		// just to force the GNU format.
    		file: "testdata/gnu-utf8.tar",
    		headers: []*Header{{
    			Name: "☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹",
    			Mode: 0644,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  9. src/bufio/bufio_test.go

    	b.WriteString("z")
    	if err := b.Flush(); err != nil {
    		t.Error("WriteString", err)
    	}
    	s := "01234567890abcdefghijklmnopqrstuvwxyz"
    	if buf.String() != s {
    		t.Errorf("WriteString wants %q gets %q", s, buf.String())
    	}
    }
    
    func TestWriteStringStringWriter(t *testing.T) {
    	const BufSize = 8
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.WriteString("1234")
    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)
  10. src/archive/zip/writer.go

    		// because many legacy ZIP readers interpret the timestamp according
    		// to the local timezone.
    		//
    		// The timezone is only non-UTC if a user directly sets the Modified
    		// field directly themselves. All other approaches sets UTC.
    		fh.ModifiedDate, fh.ModifiedTime = timeToMsDosTime(fh.Modified)
    
    		// Use "extended timestamp" format since this is what Info-ZIP uses.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top