Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 244 for readelf (0.43 sec)

  1. internal/hash/reader.go

    )
    
    // A Reader wraps an io.Reader and computes the MD5 checksum
    // of the read content as ETag. Optionally, it also computes
    // the SHA256 checksum of the content.
    //
    // If the reference values for the ETag and content SHA26
    // are not empty then it will check whether the computed
    // match the reference values.
    type Reader struct {
    	src         io.Reader
    	bytesRead   int64
    	expectedMin int64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. internal/ringbuffer/ring_buffer.go

    	if len(p) == 0 {
    		return 0, r.readErr(false)
    	}
    
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	if err := r.readErr(true); err != nil {
    		return 0, err
    	}
    
    	r.wg.Add(1)
    	defer r.wg.Done()
    	n, err = r.read(p)
    	for err == ErrIsEmpty && r.block {
    		r.writeCond.Wait()
    		if err = r.readErr(true); err != nil {
    			break
    		}
    		n, err = r.read(p)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/image/gif/reader.go

    	errTooMuch   = errors.New("gif: too much image data")
    	errBadPixel  = errors.New("gif: invalid pixel value")
    )
    
    // If the io.Reader does not also have ReadByte, then decode will introduce its own buffering.
    type reader interface {
    	io.Reader
    	io.ByteReader
    }
    
    // Masks etc.
    const (
    	// Fields.
    	fColorTable         = 1 << 7
    	fInterlace          = 1 << 6
    	fColorTableBitsMask = 7
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. src/mdo/reader.vm

        }
    
        /**
         *
         * @param reader a reader object.
         * @param strict a strict object.
         * @throws IOException IOException if any.
         * @throws XMLStreamException XMLStreamException if
         * any.
         * @return ${root.name}
         */
        public ${root.name} read(Reader reader, boolean strict) throws IOException, XMLStreamException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:33:11 UTC 2023
    - 42.1K bytes
    - Viewed (0)
  5. src/image/jpeg/reader.go

    	29, 22, 15, 23, 30, 37, 44, 51,
    	58, 59, 52, 45, 38, 31, 39, 46,
    	53, 60, 61, 54, 47, 55, 62, 63,
    }
    
    // Deprecated: Reader is not used by the [image/jpeg] package and should
    // not be used by others. It is kept for compatibility.
    type Reader interface {
    	io.ByteReader
    	io.Reader
    }
    
    // bits holds the unprocessed bits that have been taken from the byte-stream.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  6. src/image/png/reader.go

    const (
    	dsStart = iota
    	dsSeenIHDR
    	dsSeenPLTE
    	dsSeentRNS
    	dsSeenIDAT
    	dsSeenIEND
    )
    
    const pngHeader = "\x89PNG\r\n\x1a\n"
    
    type decoder struct {
    	r             io.Reader
    	img           image.Image
    	crc           hash.Hash32
    	width, height int
    	depth         int
    	palette       color.Palette
    	cb            int
    	stage         int
    	idatLength    uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    	var found int
    	var notFound int
    	var foundNotEmpty int
    	var otherFound int
    	for _, readErr := range errs {
    		switch {
    		case readErr == nil:
    			found++
    		case readErr == errFileNotFound || readErr == errVolumeNotFound:
    			notFound++
    		case readErr == errVolumeNotEmpty:
    			foundNotEmpty++
    		default:
    			otherFound++
    		}
    	}
    	found = found + foundNotEmpty + otherFound
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  8. istioctl/pkg/analyze/analyze.go

    				return nil, err
    			}
    			readers = append(readers, dirReaders...)
    		} else {
    			if !isValidFile(f) {
    				fmt.Fprintf(cmd.ErrOrStderr(), "Skipping file %v, recognized file extensions are: %v\n", f, fileExtensions)
    				continue
    			}
    			rs, err := gatherFile(f)
    			if err != nil {
    				return nil, err
    			}
    			readers = append(readers, rs)
    		}
    	}
    	return readers, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. pkg/config/analysis/local/istiod_analyze.go

    	ResourceName string
    }
    
    // ReaderSource is a tuple of a io.Reader and filepath.
    type ReaderSource struct {
    	// Name is the name of the source (commonly the path to a file, but can be "-" for sources read from stdin or "" if completely synthetic).
    	Name string
    	// Reader is the reader instance to use.
    	Reader io.Reader
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:13 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. src/compress/flate/flate_test.go

    			"c6d7",
    	}}
    
    	for i, tc := range testCases {
    		data, err := hex.DecodeString(tc.stream)
    		if err != nil {
    			t.Fatal(err)
    		}
    		data, err = io.ReadAll(NewReader(bytes.NewReader(data)))
    		if tc.want == "fail" {
    			if err == nil {
    				t.Errorf("#%d (%s): got nil error, want non-nil", i, tc.desc)
    			}
    		} else {
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 11K bytes
    - Viewed (1)
Back to top