Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 863 for Base (0.14 sec)

  1. src/cmd/asm/internal/arch/mips.go

    	case "FCR":
    		if 0 <= n && n <= 31 {
    			return mips.REG_FCR0 + n, true
    		}
    	case "M":
    		if 0 <= n && n <= 31 {
    			return mips.REG_M0 + n, true
    		}
    	case "R":
    		if 0 <= n && n <= 31 {
    			return mips.REG_R0 + n, true
    		}
    	case "W":
    		if 0 <= n && n <= 31 {
    			return mips.REG_W0 + n, true
    		}
    	}
    	return 0, false
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Mar 04 19:06:44 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  2. internal/store/store.go

    		defer retryTicker.Stop()
    
    		for {
    			for _, key := range store.List() {
    				select {
    				case keyCh <- key:
    				// Get next key.
    				case <-doneCh:
    					return
    				}
    			}
    
    			select {
    			case <-retryTicker.C:
    			case <-doneCh:
    				return
    			}
    		}
    	}()
    
    	return keyCh
    }
    
    // sendItems - Reads items from the store and re-plays.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. cmd/metacache-marker.go

    	for _, tag := range tags {
    		kv := strings.Split(tag, ":")
    		if len(kv) < 2 {
    			continue
    		}
    		switch kv[0] {
    		case "minio_cache":
    			if kv[1] != markerTagVersion {
    				continue
    			}
    		case "id":
    			o.ID = kv[1]
    		case "return":
    			o.ID = mustGetUUID()
    			o.Create = true
    		case "p": // pool
    			v, err := strconv.ParseInt(kv[1], 10, 64)
    			if err != nil {
    				o.ID = mustGetUUID()
    				o.Create = true
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. cmd/postpolicyform.go

    func toInteger(val interface{}) (int64, error) {
    	switch v := val.(type) {
    	case float64:
    		return int64(v), nil
    	case int64:
    		return v, nil
    	case int:
    		return int64(v), nil
    	case string:
    		i, err := strconv.Atoi(v)
    		return int64(i), err
    	default:
    		return 0, errors.New("Invalid number format")
    	}
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. clause/expression.go

    		switch value := v.(type) {
    		case sql.NamedArg:
    			namedMap[value.Name] = value.Value
    		case map[string]interface{}:
    			for k, v := range value {
    				namedMap[k] = v
    			}
    		default:
    			var appendFieldsToMap func(reflect.Value)
    			appendFieldsToMap = func(reflectValue reflect.Value) {
    				reflectValue = reflect.Indirect(reflectValue)
    				switch reflectValue.Kind() {
    				case reflect.Struct:
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "DeploymentID":
    			z.DeploymentID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DeploymentID")
    				return
    			}
    		case "Endpoint":
    			z.Endpoint, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Endpoint")
    				return
    			}
    		case "TotalDowntime":
    			z.TotalDowntime, err = dc.ReadDuration()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  7. cmd/bucket-handlers_test.go

    		secretKey          string
    		expectedRespStatus int
    	}{
    		// Test case - 1.
    		// Validate a good case request succeeds.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 2.
    		// Test case with invalid accessKey to produce and validate Signature Mismatch error.
    		{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  8. internal/lock/lock_solaris.go

    	var lockType int16
    	switch flag {
    	case syscall.O_RDONLY:
    		lockType = syscall.F_RDLCK
    	case syscall.O_WRONLY:
    		fallthrough
    	case syscall.O_RDWR:
    		fallthrough
    	case syscall.O_WRONLY | syscall.O_CREAT:
    		fallthrough
    	case syscall.O_RDWR | syscall.O_CREAT:
    		lockType = syscall.F_WRLCK
    	default:
    		return nil, &os.PathError{
    			Op:   "open",
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. cmd/object-api-multipart_test.go

    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    		// Case with invalid object names.
    		{bucketName: bucket, PartID: 1, expectedError: fmt.Errorf("%s", "Object name invalid: minio-bucket/")},
    		// Test case - 6.
    		// Valid object and bucket names but non-existent bucket.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  10. cmd/encryption-v1_test.go

    	for i, test := range testSP {
    		{
    			// nil range
    			o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(nil)
    			if err != nil {
    				t.Errorf("Case %d: unexpected err: %v", i, err)
    			}
    			if skip != 0 || sn != 0 || ps != 0 || o != 0 || l != getEncSize(test.decSz) {
    				t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps)
    			}
    		}
    
    		if test.decSz >= 10 {
    			// first 10 bytes
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
Back to top