Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 101 for Sr (0.02 sec)

  1. test/codegen/memcombine.go

    	// amd64/v3:`MOVBEW\t[A-Z]+[0-9]*, \([A-Z]+[0-9]*\)\([A-Z]+[0-9]*\*1\)`
    	// arm64:`MOVH\sR[0-9]+,\s\(R[0-9]+\)\(R[0-9]+\)`,`REV16W`,-`MOVB`
    	// ppc64le:`MOVHBR`
    	// ppc64:`MOVH\s`
    	// s390x:`MOVH\s.*\(.*\)\(.*\*1\)$`,-`SRW\s`,-`SRD\s`
    	binary.BigEndian.PutUint16(b[idx:], x)
    }
    
    func store_le_byte_2(b []byte, val uint16) {
    	_ = b[2]
    	// arm64:`MOVH\sR[0-9]+,\s1\(R[0-9]+\)`,-`MOVB`
    	// 386:`MOVW\s[A-Z]+,\s1\([A-Z]+\)`,-`MOVB`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/debug/pe/file.go

    	f.StringTable, err = readStringTable(&f.FileHeader, sr)
    	if err != nil {
    		return nil, err
    	}
    
    	// Read symbol table.
    	f.COFFSymbols, err = readCOFFSymbols(&f.FileHeader, sr)
    	if err != nil {
    		return nil, err
    	}
    	f.Symbols, err = removeAuxSymbols(f.COFFSymbols, f.StringTable)
    	if err != nil {
    		return nil, err
    	}
    
    	// Seek past file header.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  3. src/debug/pe/section.go

    	// Open() to avoid fighting over the seek offset
    	// with other clients.
    	io.ReaderAt
    	sr *io.SectionReader
    }
    
    // Data reads and returns the contents of the PE section s.
    //
    // If s.Offset is 0, the section has no contents,
    // and Data will always return a non-nil error.
    func (s *Section) Data() ([]byte, error) {
    	return saferio.ReadDataAt(s.sr, uint64(s.Size), 0)
    }
    
    // Open returns a new ReadSeeker reading the PE section s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    		{sr("a", prefixSize) + "/", "", "", false},
    		{sr("a", prefixSize) + "/a", sr("a", prefixSize), "a", true},
    		{sr("a", nameSize+1), "", "", false},
    		{sr("/", nameSize+1), sr("/", nameSize-1), "/", true},
    		{sr("a", prefixSize) + "/" + sr("b", nameSize),
    			sr("a", prefixSize), sr("b", nameSize), true},
    		{sr("a", prefixSize) + "//" + sr("b", nameSize), "", "", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    func ValidateLabelSelectorRequirement(sr metav1.LabelSelectorRequirement, opts LabelSelectorValidationOptions, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	switch sr.Operator {
    	case metav1.LabelSelectorOpIn, metav1.LabelSelectorOpNotIn:
    		if len(sr.Values) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  6. tests/fuzz/v1alpha3_fuzzer.go

    }
    
    func ValidateTestOptions(to core.TestOptions) error {
    	for _, csc := range to.ConfigStoreCaches {
    		if csc == nil {
    			return errors.New("a ConfigStoreController was nil")
    		}
    	}
    	for _, sr := range to.ServiceRegistries {
    		if sr == nil {
    			return errors.New("a ServiceRegistry was nil")
    		}
    	}
    	return nil
    }
    
    func FuzzValidateClusters(data []byte) int {
    	proxy := model.Proxy{}
    	f := fuzz.NewConsumer(data)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/examples/prebind/prebind.go

    const Name = "stateless-prebind-plugin-example"
    
    // Name returns name of the plugin. It is used in logs, etc.
    func (sr StatelessPreBindExample) Name() string {
    	return Name
    }
    
    // PreBind is the functions invoked by the framework at "prebind" extension point.
    func (sr StatelessPreBindExample) PreBind(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) *framework.Status {
    	if pod == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 03:43:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. src/debug/macho/fat.go

    // the ReaderAt.
    func NewFatFile(r io.ReaderAt) (*FatFile, error) {
    	var ff FatFile
    	sr := io.NewSectionReader(r, 0, 1<<63-1)
    
    	// Read the fat_header struct, which is always in big endian.
    	// Start with the magic number.
    	err := binary.Read(sr, binary.BigEndian, &ff.Magic)
    	if err != nil {
    		return nil, &FormatError{0, "error reading magic number", nil}
    	} else if ff.Magic != MagicFat {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/debug/macho/file.go

    	// with other clients.
    	io.ReaderAt
    	sr *io.SectionReader
    }
    
    // Data reads and returns the contents of the segment.
    func (s *Segment) Data() ([]byte, error) {
    	return saferio.ReadDataAt(s.sr, s.Filesz, 0)
    }
    
    // Open returns a new ReadSeeker reading the segment.
    func (s *Segment) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) }
    
    type SectionHeader struct {
    	Name   string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  10. src/io/io_test.go

    		r := strings.NewReader(tt.data)
    		sr := NewSectionReader(r, 0, int64(len(tt.data)))
    		if got := sr.Size(); got != tt.want {
    			t.Errorf("Size = %v; want %v", got, tt.want)
    		}
    	}
    }
    
    func TestSectionReader_Max(t *testing.T) {
    	r := strings.NewReader("abcdef")
    	const maxint64 = 1<<63 - 1
    	sr := NewSectionReader(r, 3, maxint64)
    	n, err := sr.Read(make([]byte, 3))
    	if n != 3 || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:04:41 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top