Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Breiding (0.16 sec)

  1. cmd/storage-rest-client.go

    		readMsgpReaderPool.Put(r)
    	}
    }
    
    func (client *storageRESTClient) ReadVersion(ctx context.Context, origvolume, volume, path, versionID string, opts ReadOptions) (fi FileInfo, err error) {
    	// Use websocket when not reading data.
    	if !opts.ReadData {
    		resp, err := storageReadVersionRPC.Call(ctx, client.gridConn, grid.NewMSSWith(map[string]string{
    			storageRESTDiskID:     *client.diskID.Load(),
    			storageRESTOrigVolume: origvolume,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  2. internal/logger/target/kafka/kafka.go

    }
    
    // Target - Kafka target.
    type Target struct {
    	status int32
    
    	totalMessages  int64
    	failedMessages int64
    
    	wg sync.WaitGroup
    
    	// Channel of log entries.
    	// Reading logCh must hold read lock on logChMu (to avoid read race)
    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan interface{}
    	logChMu sync.RWMutex
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  3. cmd/auth-handler_test.go

    		if s3Error != testCase.s3Error {
    			if _, err := io.ReadAll(testCase.req.Body); toAPIErrorCode(ctx, err) != testCase.s3Error {
    				t.Fatalf("Test %d: Unexpected S3 error: want %d - got %d (got after reading request %s)", i, testCase.s3Error, s3Error, toAPIError(ctx, err).Code)
    			}
    		}
    	}
    }
    
    func TestCheckAdminRequestAuthType(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. internal/s3select/csv/reader_contrib_test.go

    	if err != nil {
    		b.Fatalf("Reading init failed with %s", err)
    	}
    	defer r.Close()
    	b.ReportAllocs()
    	b.ResetTimer()
    	b.SetBytes(int64(len(f)))
    	var record sql.Record
    	for i := 0; i < b.N; i++ {
    		r, err = NewReader(io.NopCloser(bytes.NewBuffer(f)), &args)
    		if err != nil {
    			b.Fatalf("Reading init failed with %s", err)
    		}
    		for err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  5. cmd/format-erasure.go

    		format.Erasure.Sets[i] = make([]string, setLen)
    		for j := 0; j < setLen; j++ {
    			format.Erasure.Sets[i][j] = mustGetUUID()
    		}
    	}
    	return format
    }
    
    // Returns format Erasure version after reading `format.json`, returns
    // successfully the version only if the backend is Erasure.
    func formatGetBackendErasureVersion(b []byte) (string, error) {
    	meta := &formatMetaV1{}
    	if err := json.Unmarshal(b, meta); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. cmd/common-main.go

    			continue
    		}
    		ekvs = append(ekvs, ekv)
    	}
    	if err = scanner.Err(); err != nil {
    		return nil, err
    	}
    	return ekvs, nil
    }
    
    func readFromSecret(sp string) (string, error) {
    	// Supports reading path from docker secrets, filename is
    	// relative to /run/secrets/ position.
    	if isFile(pathJoin("/run/secrets/", sp)) {
    		sp = pathJoin("/run/secrets/", sp)
    	}
    	credBuf, err := os.ReadFile(sp)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  7. internal/hash/reader.go

    				ExpectedMD5:   v.Expected.String(),
    				CalculatedMD5: v.Computed.String(),
    			}
    		}
    	}
    	return n, err
    }
    
    // Size returns the absolute number of bytes the Reader
    // will return during reading. It returns -1 for unlimited
    // data.
    func (r *Reader) Size() int64 { return r.size }
    
    // ActualSize returns the pre-modified size of the object.
    // DecompressedSize - For compressed objects.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    }
    
    // Returns true if input bucket is a reserved minio bucket 'minio'.
    func isMinioReservedBucket(bucketName string) bool {
    	return bucketName == minioReservedBucket
    }
    
    // returns a slice of hosts by reading a slice of DNS records
    func getHostsSlice(records []dns.SrvRecord) []string {
    	hosts := make([]string, len(records))
    	for i, r := range records {
    		hosts[i] = net.JoinHostPort(r.Host, string(r.Port))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  9. LICENSE

    in accord with this section must be in a format that is publicly
    documented (and with an implementation available to the public in
    source code form), and must require no special password or key for
    unpacking, reading or copying.
    
      7. Additional Terms.
    
      "Additional permissions" are terms that supplement the terms of this
    License by making exceptions from one or more of its conditions.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 33.7K bytes
    - Viewed (0)
  10. cmd/s3-zip-handlers.go

    		ContentType: mime.TypeByExtension(filepath.Ext(object)),
    	}
    
    	var rc io.ReadCloser
    
    	if file.UncompressedSize64 > 0 {
    		// There may be number of header bytes before the content.
    		// Reading 64K extra. This should more than cover name and any "extra" details.
    		end := file.Offset + int64(file.CompressedSize64) + 64<<10
    		if end > zipObjInfo.Size {
    			end = zipObjInfo.Size
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top