Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 371 for readdir (0.05 sec)

  1. 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))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. docs/debugging/inspect/decrypt-v2.go

    package main
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"os"
    
    	"github.com/minio/madmin-go/v3/estream"
    )
    
    type keepFileErr struct {
    	error
    }
    
    func extractInspectV2(pk []byte, r io.Reader, w io.Writer, okMsg string) error {
    	privKey, err := bytesToPrivateKey(pk)
    	if err != nil {
    		return fmt.Errorf("decoding key returned: %w", err)
    	}
    
    	sr, err := estream.NewReader(r)
    	if err != nil {
    		return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Lists;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * @param <S> the source or sink type
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            final List<ProtwordsItem> itemList = new ArrayList<>();
            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            final List<StopwordsItem> itemList = new ArrayList<>();
            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                    try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
                        String command;
                        while (true) {
                            try {
                                while (!reader.ready()) {
                                    ThreadUtil.sleep(1000L);
                                }
                                command = reader.readLine().trim();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. internal/s3select/jstream/errors.go

    type DecoderError struct {
    	msg       string // description of error
    	context   string // additional error context
    	pos       errPos
    	atChar    byte
    	readerErr error // underlying reader error, if any
    }
    
    // ReaderErr returns the underlying error.
    func (e DecoderError) ReaderErr() error { return e.readerErr }
    
    // Error returns a string representation of the error.
    func (e DecoderError) Error() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

            final List<StemmerOverrideItem> itemList = new ArrayList<>();
            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. cmd/warm-backend-azure.go

    	destObj := object
    	if az.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", az.Prefix, object)
    	}
    	return destObj
    }
    
    func (az *warmBackendAzure) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	azMeta := map[string]*string{}
    	for k, v := range meta {
    		azMeta[k] = to.Ptr(v)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. internal/s3select/jstream/decoder_test.go

    package jstream
    
    import (
    	"bytes"
    	"testing"
    )
    
    func mkReader(s string) *bytes.Reader { return bytes.NewReader([]byte(s)) }
    
    func TestDecoderSimple(t *testing.T) {
    	var (
    		counter int
    		mv      *MetaValue
    		body    = `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`
    	)
    
    	decoder := NewDecoder(mkReader(body), 1)
    
    	for mv = range decoder.Stream() {
    		counter++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top