Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for remove (0.15 sec)

  1. src/cmd/api/api_test.go

    	}
    	for _, fi := range fis {
    		if !fi.IsDir() {
    			continue
    		}
    
    		// TODO(gri) remove extra pkg directory eventually
    		goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt")
    		w := NewWalker(nil, "testdata/src/pkg")
    		pkg, _ := w.import_(fi.Name())
    		w.export(pkg)
    
    		if *updateGolden {
    			os.Remove(goldenFile)
    			f, err := os.Create(goldenFile)
    			if err != nil {
    				t.Fatal(err)
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

          description: |
            We can remove packages with a shared path prefix.
            For example, a request for 'github.com/author' would remove all pkg.go.dev pages with that package path prefix.
        validations:
          required: true
      - type: textarea
        id: package-owner
        attributes:
          label: "Are you the owner of this package?"
          description: |
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. doc/godebug.md

    Go 1.19 made it an error for path lookups to resolve to binaries in the current directory,
    controlled by the [`execerrdot` setting](/pkg/os/exec#hdr-Executables_in_the_current_directory).
    There is no plan to remove this setting.
    
    ### Go 1.18
    
    Go 1.18 removed support for SHA1 in most X.509 certificates,
    controlled by the [`x509sha1` setting](/pkg/crypto/x509#InsecureAlgorithmError).
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. api/README

    Each file is a list of API features, one per line.
    
    go1.txt (and similarly named files) are frozen once a version has been
    shipped. Each file adds new lines but does not remove any.
    
    except.txt lists features that may disappear without breaking true
    compatibility.
    
    Starting with go1.19.txt, each API feature line must end in "#nnnnn"
    giving the GitHub issue number of the proposal issue that accepted
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 31 19:22:50 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback_windows.go

    		case "goCallback":
    			// TODO(qmuntal): investigate why this function doesn't appear
    			// when using the external linker.
    			continue
    		}
    		// In module mode, this package has a fully-qualified import path.
    		// Remove it if present.
    		fname = strings.TrimPrefix(fname, "cmd/cgo/internal/")
    		if !strings.HasPrefix(fname, "test.") {
    			continue
    		}
    		got = append(got, fname)
    	}
    	if !reflect.DeepEqual(want, got) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    		if zt.Obscured {
    			tf, err := obscuretestdata.DecodeToTempFile(path)
    			if err != nil {
    				t.Errorf("obscuretestdata.DecodeToTempFile(%s): %v", path, err)
    				return
    			}
    			defer os.Remove(tf)
    			path = tf
    		}
    		var rc *ReadCloser
    		rc, err = OpenReader(path)
    		if err == nil {
    			defer rc.Close()
    			z = &rc.Reader
    		}
    		var err2 error
    		raw, err2 = os.ReadFile(path)
    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)
  7. src/archive/zip/zip_test.go

    				commentLen := int(uint16max) - directoryHeaderLen - 1
    				thisRecLen := directoryHeaderLen + int(uint16max) + commentLen
    				if int64(thisRecLen) > remain {
    					remove := thisRecLen - int(remain)
    					commentLen -= remove
    					thisRecLen -= remove
    				}
    				remain -= int64(thisRecLen)
    				f, err := w.CreateHeader(&FileHeader{
    					Name:    uint16string,
    					Comment: uint16string[:commentLen],
    				})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    object file and then processed by the linker.
    
    The directives are:
    
    //go:cgo_import_dynamic <local> [<remote> ["<library>"]]
    
    	In internal linking mode, allow an unresolved reference to
    	<local>, assuming it will be resolved by a dynamic library
    	symbol. The optional <remote> specifies the symbol's name and
    	possibly version in the dynamic library, and the optional "<library>"
    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)
  9. doc/go1.17_spec.html

    <p>
    The built-in function <code>delete</code> removes the element with key
    <code>k</code> from a <a href="#Map_types">map</a> <code>m</code>. The
    type of <code>k</code> must be <a href="#Assignability">assignable</a>
    to the key type of <code>m</code>.
    </p>
    
    <pre class="grammar">
    delete(m, k)  // remove element m[k] from map m
    </pre>
    
    <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)
  10. src/bytes/buffer_test.go

    	// Confirm that when Reader panics, the empty buffer remains empty
    	var buf2 Buffer
    	defer func() {
    		recover()
    		check(t, "TestReadFromPanicReader (2)", &buf2, "")
    	}()
    	buf2.ReadFrom(panicReader{panic: true})
    }
    
    func TestReadFromNegativeReader(t *testing.T) {
    	var b Buffer
    	defer func() {
    		switch err := recover().(type) {
    		case nil:
    			t.Fatal("bytes.Buffer.ReadFrom didn't panic")
    		case error:
    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)
Back to top