Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,537 for kvar (0.08 sec)

  1. cmd/erasure_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/rand"
    	"io"
    	"testing"
    )
    
    var erasureEncodeDecodeTests = []struct {
    	dataBlocks, parityBlocks   int
    	missingData, missingParity int
    	reconstructParity          bool
    	shouldFail                 bool
    }{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. internal/grid/types_test.go

    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalMSS(t *testing.T) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	var v2 MSS
    	left, err := v2.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) != 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. cmd/object-api-utils_test.go

    			defer r.Close()
    
    			var rdrBuf bytes.Buffer
    			_, err := io.CopyBuffer(&rdrBuf, r, buf)
    			if err != nil {
    				t.Fatal(err)
    			}
    			r.Close()
    			idx := idxCB()
    			if !tt.wantIdx && len(idx) > 0 {
    				t.Errorf("index returned above threshold")
    			}
    			if tt.wantIdx {
    				if idx == nil {
    					t.Errorf("no index returned")
    				}
    				var index s2.Index
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils.go

    		// rely on replication action from target that actually performed replication now.
    		if t.PrevReplicationStatus != replication.Completed {
    			return t.ReplicationAction
    		}
    	}
    	return replicateNone
    }
    
    var replStatusRegex = regexp.MustCompile(`([^=].*?)=([^,].*?);`)
    
    // TargetReplicationStatus - returns replication status of a target
    func (ri ReplicateObjectInfo) TargetReplicationStatus(arn string) (status replication.StatusType) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. docs/tr/docs/async.md

    Web uygulamalarının çoğu için durum böyledir.
    
    Pek çok kullanıcı var, ama sunucunuz pek de iyi olmayan bir bağlantı ile istek atmalarını bekliyor.
    
    Ve sonra yanıtların geri gelmesi için tekrar 🕙 bekliyor
    
    Bu "bekleme" 🕙 mikrosaniye cinsinden ölçülür, yine de, hepsini toplarsak çok fazla bekleme var.
    
    Bu nedenle, web API'leri için asenkron ⏸🔀⏯ kod kullanmak çok daha mantıklı.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. internal/event/config.go

    func (ruleList FilterRuleList) isEmpty() bool {
    	return len(ruleList.Rules) == 0
    }
    
    // Pattern - returns pattern using prefix and suffix values.
    func (ruleList FilterRuleList) Pattern() string {
    	var prefix string
    	var suffix string
    
    	for _, rule := range ruleList.Rules {
    		switch rule.Name {
    		case "prefix":
    			prefix = rule.Value
    		case "suffix":
    			suffix = rule.Value
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  7. internal/kms/secret-key.go

    	const randSize = 28
    	ciphertext, keyType := parseCiphertext(req.Ciphertext)
    	ciphertext, random := ciphertext[:len(ciphertext)-randSize], ciphertext[len(ciphertext)-randSize:]
    	iv, nonce := random[:16], random[16:]
    
    	var aead cipher.AEAD
    	switch keyType {
    	case kms.AES256:
    		mac := hmac.New(sha256.New, s.key)
    		mac.Write(iv)
    		sealingKey := mac.Sum(nil)
    
    		block, err := aes.NewCipher(sealingKey)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. internal/s3select/sql/aggregation.go

    //
    // On success, it returns (nil, nil).
    func (e *FuncExpr) evalAggregationNode(r Record, tableAlias string) error {
    	// It is assumed that this function is called only when
    	// `e` is an aggregation function.
    
    	var val *Value
    	var err error
    	funcName := e.getFunctionName()
    	if aggFnCount == funcName {
    		if e.Count.StarArg {
    			// Handle COUNT(*)
    			e.aggregate.runningCount++
    			return nil
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          }
        }
    
        return null
      }
    
      class WireSharkKeyLoggerListener(
        private val logFile: File,
        private val verbose: Boolean = false,
      ) : EventListener() {
        var random: String? = null
        lateinit var currentThread: Thread
    
        private val loggerHandler =
          object : Handler() {
            override fun publish(record: LogRecord) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                    }
                }
            }
        }
    
        private
        fun versionsDates(): Map<Version, String> {
            val versions = mutableMapOf<Version, String>()
            var version: String? = null
            parameters.releasedVersionsFile.get().asFile.forEachLine(Charsets.UTF_8) {
                val line = it.trim()
                if (line.startsWith("\"version\"")) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top