Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for shouldn (0.15 sec)

  1. src/cmd/api/api_test.go

    			ok:        true,
    			out:       "",
    		},
    
    		// Test that a feature required on a subset of ports is implicitly satisfied
    		// by the same feature being implemented on all ports. That is, it shouldn't
    		// say "pkg syscall (darwin-amd64), type RawSockaddrInet6 struct" is missing.
    		// See https://go.dev/issue/4303.
    		{
    			name: "contexts reconverging after api/next/* update",
    			features: []string{
    				"A",
    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. src/bytes/boundary_test.go

    )
    
    // This file tests the situation where byte operations are checking
    // data very near to a page boundary. We want to make sure those
    // operations do not read across the boundary and cause a page
    // fault where they shouldn't.
    
    // These tests run only on linux. The code being tested is
    // not OS-specific, so it does not need to be tested on all
    // operating systems.
    
    // dangerousSlice returns a slice which is immediately
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    				}
    			}
    			if err := w.Close(); err != nil {
    				t.Fatal(err)
    			}
    		}
    	}
    	// 16k-1 records shouldn't make a zip64:
    	t.Run("uint16max-1_NoZip64", func(t *testing.T) {
    		t.Parallel()
    		if generatesZip64(t, gen(0xfffe)) {
    			t.Error("unexpected zip64")
    		}
    	})
    	// 16k records should make a zip64:
    	t.Run("uint16max_Zip64", func(t *testing.T) {
    		t.Parallel()
    		if !generatesZip64(t, gen(0xffff)) {
    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)
  4. src/bytes/buffer_test.go

    			t.Errorf(testname+" (fill 3): err should always be nil, found err == %s", err)
    		}
    		s += string(fub)
    		check(t, testname+" (fill 4)", buf, s)
    	}
    	return s
    }
    
    func TestNewBuffer(t *testing.T) {
    	buf := NewBuffer(testBytes)
    	check(t, "NewBuffer", buf, testString)
    }
    
    var buf Buffer
    
    // Calling NewBuffer and immediately shallow copying the Buffer struct
    // should not result in any allocations.
    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)
  5. src/cmd/cgo/doc.go

    particular foo.cgo2.o. To do so, it uses the cgo_import_dynamic and
    cgo_dynamic_linker directives to learn that the otherwise undefined
    reference to sin in foo.cgo2.o should be rewritten to refer to the
    symbol sin with version GLIBC_2.2.5 from the dynamic library
    "libm.so.6", and the binary should request "/lib/ld-linux.so.2" as its
    runtime dynamic linker.
    
    In external mode, cmd/link does not process any host object files, in
    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. src/archive/zip/reader_test.go

    	Error    error // the error that Opening this file should return
    }
    
    type ZipTestFile struct {
    	Name     string
    	Mode     fs.FileMode
    	NonUTF8  bool
    	ModTime  time.Time
    	Modified time.Time
    
    	// Information describing expected zip file content.
    	// First, reading the entire content should produce the error ContentErr.
    	// Second, if ContentErr==nil, the content should match Content.
    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. doc/go1.17_spec.html

    <p>
    In a case or default clause, the last non-empty statement
    may be a (possibly <a href="#Labeled_statements">labeled</a>)
    <a href="#Fallthrough_statements">"fallthrough" statement</a> to
    indicate that control should flow from the end of this clause to
    the first statement of the next clause.
    Otherwise control flows to the end of the "switch" statement.
    A "fallthrough" statement may appear as the last statement of all
    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)
  8. src/archive/tar/common.go

    	// PAXRecords is a map of PAX extended header records.
    	//
    	// User-defined records should have keys of the following form:
    	//	VENDOR.keyword
    	// Where VENDOR is some namespace in all uppercase, and keyword may
    	// not contain the '=' character (e.g., "GOLANG.pkg.version").
    	// The key and value should be non-empty UTF-8 strings.
    	//
    	// When Writer.WriteHeader is called, PAX records derived from the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. src/README.vendor

    the module providing the target package.
    
    Note that 'go mod vendor' only copies packages that are transitively
    imported by packages in the current module. If a new package is needed,
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/11-language-change.yml

        attributes:
          label: "Orthogonality: How does this change interact or overlap with existing features?"
          description: "Is the goal of this change a performance improvement? If so, what quantifiable improvement should we expect? How would we measure it?"
        validations:
          required: false
    
      - type: textarea
        id: learning-curve
        attributes:
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top