Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for attempted (0.19 sec)

  1. src/cmd/cgo/doc.go

    Also for security reasons, only a limited set of characters are
    permitted, notably alphanumeric characters and a few symbols, such as
    '.', that will not be interpreted in unexpected ways. Attempts to use
    forbidden characters will get a "malformed #cgo argument" error.
    
    When building, the CGO_CFLAGS, CGO_CPPFLAGS, CGO_CXXFLAGS, CGO_FFLAGS and
    CGO_LDFLAGS environment variables are added to the flags derived from
    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/archive/zip/reader_test.go

    		0xff, 0xff, 0xff, 0x20, 0x00,
    	}
    	defer func() {
    		if r := recover(); r != nil {
    			t.Fatalf("NewReader panicked: %s", r)
    		}
    	}()
    	// Previously, this would trigger a panic as we attempt to read from
    	// an io.SectionReader which would access a slice at a negative offset
    	// as the section reader offset & size were < 0.
    	NewReader(bytes.NewReader(data), int64(len(data))+1875)
    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. doc/go1.17_spec.html

    indirection <code>*x</code> denotes the <a href="#Variables">variable</a> of type <code>T</code> pointed
    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
    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)
  4. doc/go_spec.html

    type is a <a href="#Type_parameter_declarations">type parameter</a> with an empty
    <a href="#Interface_types">type set</a>. Functions with such type parameters
    cannot be <a href="#Instantiations">instantiated</a>; any attempt will lead
    to an error at the instantiation site.
    </p>
    
    <h3 id="Qualified_identifiers">Qualified identifiers</h3>
    
    <p>
    A <i>qualified identifier</i> is an identifier qualified with a package name prefix.
    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)
  5. src/cmd/api/main_test.go

    func (w *Walker) pushScope(name string) (popFunc func()) {
    	w.scope = append(w.scope, name)
    	return func() {
    		if len(w.scope) == 0 {
    			log.Fatalf("attempt to leave scope %q with empty scope list", name)
    		}
    		if w.scope[len(w.scope)-1] != name {
    			log.Fatalf("attempt to leave scope %q, but scope is currently %#v", name, w.scope)
    		}
    		w.scope = w.scope[:len(w.scope)-1]
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. doc/go_mem.html

    }
    </pre>
    
    <p>
    it can happen that <code>g</code> prints <code>2</code> and then <code>0</code>.
    </p>
    
    <p>
    This fact invalidates a few common idioms.
    </p>
    
    <p>
    Double-checked locking is an attempt to avoid the overhead of synchronization.
    For example, the <code>twoprint</code> program might be
    incorrectly written as:
    </p>
    
    <pre>
    var a string
    var done bool
    
    func setup() {
    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/archive/tar/writer_test.go

    			t.Errorf("splitUSTARPath(%q):\ngot  (%q, %q, %v)\nwant (%q, %q, %v)",
    				v.input, prefix, suffix, ok, v.prefix, v.suffix, v.ok)
    		}
    	}
    }
    
    // TestIssue12594 tests that the Writer does not attempt to populate the prefix
    // field when encoding a header in the GNU format. The prefix field is valid
    // in USTAR and PAX, but not GNU.
    func TestIssue12594(t *testing.T) {
    	names := []string{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top