Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for some (0.09 sec)

  1. src/archive/tar/format.go

    	formatV7
    
    	// FormatUSTAR represents the USTAR header format defined in POSIX.1-1988.
    	//
    	// While this format is compatible with most tar readers,
    	// the format has several limitations making it unsuitable for some usages.
    	// Most notably, it cannot support sparse files, files larger than 8GiB,
    	// filenames larger than 256 characters, and non-ASCII filenames.
    	//
    	// Reference:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/liveness/intervals.go

    			sb.WriteString(" ")
    		}
    		sb.WriteString((*is)[i].String())
    	}
    	return sb.String()
    }
    
    // intWithIdx holds an interval i and an index pairIndex storing i's
    // position (either 0 or 1) within some previously specified interval
    // pair <I1,I2>; a pairIndex of -1 is used to signal "end of
    // iteration". Used for Intervals operations, not expected to be
    // exported.
    type intWithIdx struct {
    	i         Interval
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	// then run the test, it will test the installed compiler and not
    	// your local modifications. TODO: decide whether to convert this
    	// to building a fresh compiler on the fly, or using some other
    	// scheme.
    
    	testcases := []string{"funcflags", "returns", "params",
    		"acrosscall", "calls", "returns2"}
    	for _, tc := range testcases {
    		dumpfile, err := gatherPropsDumpForFile(t, tc, td)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    directory in the include path; i.e. -I${SRCDIR} is always implied. This
    means that if a header file foo/bar.h exists both in the source
    directory and also in the system include directory (or some other place
    specified by a -I flag), then "#include <foo/bar.h>" will always find the
    local version in preference to any other version.
    
    The cgo tool is enabled by default for native builds on systems where
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcshared/cshared_test.go

    		if err != nil {
    			return fmt.Errorf("unable to find dlltool path: %v\n%s\n", err, out)
    		}
    		dlltoolpath := strings.TrimSpace(string(out))
    		if filepath.Ext(dlltoolpath) == "" {
    			// Some compilers report slash-separated paths without extensions
    			// instead of ordinary Windows paths.
    			// Try to find the canonical name for the path.
    			if lp, err := exec.LookPath(dlltoolpath); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  6. src/bufio/bufio.go

    // Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer
    // object, creating another object (Reader or Writer) that also implements
    // the interface but provides buffering and some help for textual I/O.
    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    const (
    	defaultBufSize = 4096
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  7. schema/relationship.go

    		}
    
    		if primaryKeyField == nil {
    			schema.err = fmt.Errorf("invalid polymorphic type %v for %v on field %s, missing primaryKey field",
    				relation.FieldSchema, schema, field.Name)
    			return
    		}
    
    		// use same data type for foreign keys
    		if copyableDataType(primaryKeyField.DataType) {
    			relation.Polymorphic.PolymorphicID.DataType = primaryKeyField.DataType
    		}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    	"math/rand"
    	"strconv"
    	"testing"
    	"unicode/utf8"
    )
    
    const N = 10000       // make this bigger for a larger (and slower) test
    var testString string // test data for write tests
    var testBytes []byte  // test data; same as testString but as a slice.
    
    type negativeReader struct{}
    
    func (r *negativeReader) Read([]byte) (int, error) { return -1, nil }
    
    func init() {
    	testBytes = make([]byte, N)
    	for i := 0; i < N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/inline/inlheur/scoring.go

    )
    
    // This table records the specific values we use to adjust call
    // site scores in a given scenario.
    // NOTE: these numbers are chosen very arbitrarily; ideally
    // we will go through some sort of turning process to decide
    // what value for each one produces the best performance.
    
    var adjValues = map[scoreAdjustTyp]int{
    	panicPathAdj:                          40,
    	initFuncAdj:                           20,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. tests/scanner_valuer_test.go

    		ExampleStructPtr: &ExampleStruct{"name", "value2"},
    	}
    
    	var result ScannerValuerStruct
    	tx := DB.Where(data).FirstOrCreate(&result)
    
    	if tx.RowsAffected != 1 {
    		t.Errorf("RowsAffected should be 1 after create some record")
    	}
    
    	if tx.Error != nil {
    		t.Errorf("Should not raise any error, but got %v", tx.Error)
    	}
    
    	AssertObjEqual(t, result, data, "Name", "Gender", "Age")
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top