Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,019 for readFn (0.07 seconds)

  1. internal/auth/credentials.go

    	accessKey, err = GenerateAccessKey(accessKeyMaxLen, rand.Reader)
    	if err != nil {
    		return "", "", err
    	}
    	secretKey, err = GenerateSecretKey(secretKeyMaxLen, rand.Reader)
    	if err != nil {
    		return "", "", err
    	}
    	return accessKey, secretKey, nil
    }
    
    // GenerateAccessKey returns a new access key generated randomly using
    // the given io.Reader. If random is nil, crypto/rand.Reader is used.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  2. cmd/xl-storage-disk-id-check.go

    func (p *xlStorageDiskIDCheck) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricCreateFile, volume, path)
    	if err != nil {
    		return err
    	}
    	defer done(size, &err)
    
    	return p.storage.CreateFile(ctx, origvolume, volume, path, size, io.NopCloser(reader))
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  3. src/bytes/buffer.go

    const (
    	opRead      readOp = -1 // Any other read operation.
    	opInvalid   readOp = 0  // Non-read operation.
    	opReadRune1 readOp = 1  // Read rune of size 1.
    	opReadRune2 readOp = 2  // Read rune of size 2.
    	opReadRune3 readOp = 3  // Read rune of size 3.
    	opReadRune4 readOp = 4  // Read rune of size 4.
    )
    
    // ErrTooLarge is passed to panic if memory cannot be allocated to store data in a buffer.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/ByteArrayDataInput.java

    import java.io.IOException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An extension of {@code DataInput} for reading from in-memory byte arrays; its methods offer
     * identical functionality but do not throw {@link IOException}.
     *
     * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the
     * array. If any method encounters the end of the array prematurely, it throws {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 20:25:25 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            boolean hasProperty = false;
            while (reader.nextProperty()) {
                hasProperty = true;
                storage.put(reader.getPropertyName(), reader.getPropertyValue());
                int idx = checkHeaderComment(reader.getCommentLines());
                layout.put(
                        reader.getPropertyName(),
                        new Layout(
                                idx < reader.getCommentLines().size()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            boolean hasProperty = false;
            while (reader.nextProperty()) {
                hasProperty = true;
                storage.put(reader.getPropertyName(), reader.getPropertyValue());
                int idx = checkHeaderComment(reader.getCommentLines());
                layout.put(
                        reader.getPropertyName(),
                        new Layout(
                                idx < reader.getCommentLines().size()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/util/InputStreamThread.java

        private final int bufferSize;
    
        /** Callback function to process each line as it's read */
        private final Consumer<String> outputCallback;
    
        /**
         * Creates a new input stream thread.
         *
         * @param is the input stream to read from
         * @param charset the character encoding to use for reading
         * @param bufferSize the maximum number of lines to keep in the buffer (0 to disable buffering)
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. docs/debugging/inspect/decrypt-v2.go

    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/minio/madmin-go/v3/estream"
    )
    
    type keepFileErr struct {
    	error
    }
    
    func extractInspectV2(pks [][]byte, r io.Reader, extractDir string) error {
    	sr, err := estream.NewReader(r)
    	if err != nil {
    		return err
    	}
    	for _, pk := range pks {
    		privKey, err := bytesToPrivateKey(pk)
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 17 17:09:42 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     * re-read the bytes of the response. Use this one shot to read the entire response into memory with
     * [bytes] or [string]. Or stream the response with either [source], [byteStream], or [charStream].
     */
    abstract class ResponseBody : Closeable {
      /** Multiple calls to [charStream] must return the same instance. */
      private var reader: Reader? = null
    
      abstract fun contentType(): MediaType?
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/netbios/Lmhosts.java

                    result = this.table.get(name);
                }
            } catch (final IOException fnfe) {
                log.error("Could not read lmhosts " + tc.getConfig().getLmHostsFileName(), fnfe); //$NON-NLS-1$
            }
            return result;
        }
    
        void populate(final Reader r, final CIFSContext tc) throws IOException {
            String line;
            final BufferedReader br = new BufferedReader(r);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top