Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for close (0.17 sec)

  1. api/go1.1.txt

    pkg syscall (linux-386), const IN_CLASSC_NSHIFT = 8
    pkg syscall (linux-386), const IN_CLOEXEC = 524288
    pkg syscall (linux-386), const IN_CLOSE = 24
    pkg syscall (linux-386), const IN_CLOSE_NOWRITE = 16
    pkg syscall (linux-386), const IN_CLOSE_WRITE = 8
    pkg syscall (linux-386), const IN_CREATE = 256
    pkg syscall (linux-386), const IN_DELETE = 512
    pkg syscall (linux-386), const IN_DELETE_SELF = 1024
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (1)
  2. api/go1.18.txt

    pkg runtime/debug, type BuildSetting struct
    pkg runtime/debug, type BuildSetting struct, Key string
    pkg runtime/debug, type BuildSetting struct, Value string
    pkg strings, func Clone(string) string
    pkg strings, func Cut(string, string) (string, string, bool)
    pkg strings, func Title //deprecated
    pkg sync, method (*Mutex) TryLock() bool
    pkg sync, method (*RWMutex) TryLock() bool
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    	var cloneTests = [][]byte{
    		[]byte(nil),
    		[]byte{},
    		Clone([]byte{}),
    		[]byte(strings.Repeat("a", 42))[:0],
    		[]byte(strings.Repeat("a", 42))[:0:0],
    		[]byte("short"),
    		[]byte(strings.Repeat("a", 42)),
    	}
    	for _, input := range cloneTests {
    		clone := Clone(input)
    		if !Equal(clone, input) {
    			t.Errorf("Clone(%q) = %q; want %q", input, clone, input)
    		}
    
    		if input == nil && clone != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. src/bytes/example_test.go

    	}
    	fmt.Println(c)
    	fmt.Println(b.String())
    	// Output:
    	// 97
    	// bcde
    }
    
    func ExampleClone() {
    	b := []byte("abc")
    	clone := bytes.Clone(b)
    	fmt.Printf("%s\n", clone)
    	clone[0] = 'd'
    	fmt.Printf("%s\n", b)
    	fmt.Printf("%s\n", clone)
    	// Output:
    	// abc
    	// abc
    	// dbc
    }
    
    func ExampleCompare() {
    	// Interpret Compare's result by comparing it to zero.
    	var a, b []byte
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  5. api/go1.17.txt

    pkg archive/zip, method (*Writer) CreateRaw(*FileHeader) (io.Writer, error)
    pkg compress/lzw, method (*Reader) Close() error
    pkg compress/lzw, method (*Reader) Read([]uint8) (int, error)
    pkg compress/lzw, method (*Reader) Reset(io.Reader, Order, int)
    pkg compress/lzw, method (*Writer) Close() error
    pkg compress/lzw, method (*Writer) Reset(io.Writer, Order, int)
    pkg compress/lzw, method (*Writer) Write([]uint8) (int, error)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Viewed (0)
  6. doc/go_mem.html

    the <code>print</code>.
    </p>
    
    <p class="rule">
    The closing of a channel is synchronized before a receive that returns a zero value
    because the channel is closed.
    </p>
    
    <p>
    In the previous example, replacing
    <code>c &lt;- 0</code> with <code>close(c)</code>
    yields a program with the same guaranteed behavior.
    </p>
    
    <p class="rule">
    A receive from an unbuffered channel is synchronized before the completion of
    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)
  7. src/cmd/cgo/internal/swig/testdata/stdio/main.swig

    %typemap(in) const char * %{
    	$1 = malloc($input.n + 1);
    	memcpy($1, $input.p, $input.n);
    	$1[$input.n] = '\0';
    %}
    %typemap(freearg) const char * %{
    	free($1);
    %}
    
    FILE *fopen(const char *name, const char *mode);
    int fclose(FILE *);
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 563 bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    	if i := Index(s, sep); i >= 0 {
    		return s[:i], s[i+len(sep):], true
    	}
    	return s, nil, false
    }
    
    // Clone returns a copy of b[:len(b)].
    // The result may have additional unused capacity.
    // Clone(nil) returns nil.
    func Clone(b []byte) []byte {
    	if b == nil {
    		return nil
    	}
    	return append([]byte{}, b...)
    }
    
    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. api/go1.21.txt

    pkg crypto/tls, method (*Config) DecryptTicket([]uint8, ConnectionState) (*SessionState, error) #60105
    pkg crypto/tls, method (*Config) EncryptTicket(ConnectionState, *SessionState) ([]uint8, error) #60105
    pkg crypto/tls, method (*QUICConn) Close() error #44886
    pkg crypto/tls, method (*QUICConn) ConnectionState() ConnectionState #44886
    pkg crypto/tls, method (*QUICConn) HandleData(QUICEncryptionLevel, []uint8) error #44886
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  10. src/cmd/api/testdata/src/pkg/p4/golden.txt

    pkg p4, method (Pair[$0, $1]) Second() $1
    pkg p4, method (Pair[$0, $1]) First() $0
    pkg p4, type Pair[$0 interface{ M }, $1 interface{ ~int }] struct
    pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 26 19:39:32 GMT 2024
    - 329 bytes
    - Viewed (0)
Back to top