Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for errorformat (0.5 sec)

  1. istioctl/pkg/validate/validate.go

    	_ = flags.MarkHidden("referential")
    	return c
    }
    
    func warningToString(w validation.Warning) string {
    	we, ok := w.(*multierror.Error)
    	if ok {
    		we.ErrorFormat = func(i []error) string {
    			points := make([]string, len(i))
    			for i, err := range i {
    				points[i] = fmt.Sprintf("* %s", err)
    			}
    
    			return fmt.Sprintf(
    				"\n\t%s\n",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    	_, err := NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("zeroes: error=%v, want %v", err, ErrFormat)
    	}
    
    	// repeated directoryEndSignatures
    	sig := make([]byte, 4)
    	binary.LittleEndian.PutUint32(sig, directoryEndSignature)
    	for i := 0; i < size-4; i += 4 {
    		copy(b[i:i+4], sig)
    	}
    	_, err = NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("sigs: error=%v, want %v", err, ErrFormat)
    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. src/archive/zip/reader.go

    				if len(fieldBuf) < 8 {
    					return ErrFormat
    				}
    				f.UncompressedSize64 = fieldBuf.uint64()
    			}
    			if needCSize {
    				needCSize = false
    				if len(fieldBuf) < 8 {
    					return ErrFormat
    				}
    				f.CompressedSize64 = fieldBuf.uint64()
    			}
    			if needHeaderOffset {
    				needHeaderOffset = false
    				if len(fieldBuf) < 8 {
    					return ErrFormat
    				}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top