Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for causal (0.18 sec)

  1. doc/go1.17_spec.html

    to by <code>x</code>.
    If <code>x</code> is <code>nil</code>, an attempt to evaluate <code>*x</code>
    will cause a <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    <pre>
    &amp;x
    &amp;a[f(2)]
    &amp;Point{2, 3}
    *p
    *pf(x)
    
    var x *int = nil
    *x   // causes a run-time panic
    &amp;*x  // causes a run-time panic
    </pre>
    
    
    <h3 id="Receive_operator">Receive operator</h3>
    
    <p>
    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/archive/zip/reader_test.go

    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestCVE202133196(t *testing.T) {
    	// Archive that indicates it has 1 << 128 -1 files,
    	// this would previously cause a panic due to attempting
    	// to allocate a slice with 1 << 128 -1 elements.
    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x08,
    		0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    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)
  3. src/cmd/cgo/doc.go

    not be compiled separately, but, if these header files are changed,
    the package (including its non-Go source files) will be recompiled.
    Note that changes to files in other directories do not cause the package
    to be recompiled, so all non-Go source code for the package should be
    stored in the package directory, not in subdirectories.
    The default C and C++ compilers may be changed by the CC and CXX
    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)
  4. doc/next/6-stdlib/99-minor/net/63116.md

    The [DNSError] type now wraps errors caused by timeouts or cancellation.
    For example, `errors.Is(someDNSErr, context.DeadlineExceedeed)`
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 198 bytes
    - Viewed (0)
  5. src/bytes/example_test.go

    	fmt.Printf("%q\n", bytes.Split([]byte("a,b,c"), []byte(",")))
    	fmt.Printf("%q\n", bytes.Split([]byte("a man a plan a canal panama"), []byte("a ")))
    	fmt.Printf("%q\n", bytes.Split([]byte(" xyz "), []byte("")))
    	fmt.Printf("%q\n", bytes.Split([]byte(""), []byte("Bernardo O'Higgins")))
    	// Output:
    	// ["a" "b" "c"]
    	// ["" "man " "plan " "canal panama"]
    	// [" " "x" "y" "z" " "]
    	// [""]
    }
    
    func ExampleSplitN() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  6. src/builtin/builtin.go

    // termination sequence is called panicking and can be controlled by the
    // built-in function recover.
    //
    // Starting in Go 1.21, calling panic with a nil interface value or an
    // untyped nil causes a run-time error (a different panic).
    // The GODEBUG setting panicnil=1 disables the run-time error.
    func panic(v any)
    
    // The recover built-in function allows a program to manage behavior of a
    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)
  7. doc/go_spec.html

    to by <code>x</code>.
    If <code>x</code> is <code>nil</code>, an attempt to evaluate <code>*x</code>
    will cause a <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    <pre>
    &amp;x
    &amp;a[f(2)]
    &amp;Point{2, 3}
    *p
    *pf(x)
    
    var x *int = nil
    *x   // causes a run-time panic
    &amp;*x  // causes a run-time panic
    </pre>
    
    
    <h3 id="Receive_operator">Receive operator</h3>
    
    <p>
    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

    and <i>w'</i> happens before <i>r</i>.
    That is, each read must observe a value written by a preceding or concurrent write.
    </p>
    
    <p>
    Additionally, observation of acausal and “out of thin air” writes is disallowed.
    </p>
    
    <p>
    Reads of memory locations larger than a single machine word
    are encouraged but not required to meet the same semantics
    as word-sized memory locations,
    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)
Back to top