Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,297 for expectEq (0.1 sec)

  1. cmd/erasure-coding.go

    	if tillOffset > shardFileSize {
    		tillOffset = shardFileSize
    	}
    	return tillOffset
    }
    
    // erasureSelfTest performs a self-test to ensure that erasure
    // algorithms compute expected erasure codes. If any algorithm
    // produces an incorrect value it fails with a hard error.
    //
    // erasureSelfTest tries to catch any issue in the erasure implementation
    // early instead of silently corrupting data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. internal/event/target/redis.go

    	}
    
    	if typeAvailable != "none" {
    		expectedType := "hash"
    		if r.Format == event.AccessFormat {
    			expectedType = "list"
    		}
    
    		if typeAvailable != expectedType {
    			return fmt.Errorf("expected type %v does not match with available type %v", expectedType, typeAvailable)
    		}
    	}
    
    	return nil
    }
    
    // RedisTarget - Redis target.
    type RedisTarget struct {
    	initOnce once.Init
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashing.java

      private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
    
      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
       * minimum hashtable size, whichever is greater.
       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/CharEscaper.java

       * than a one-character array containing the character itself. This enables the escaping algorithm
       * to perform more efficiently.
       *
       * <p>An escaper is expected to be able to deal with any {@code char} value, so this method should
       * not throw any exceptions.
       *
       * @param c the character to escape if necessary
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  5. tests/postgres_test.go

    	}
    
    	var things []Thing
    	if err := DB.Find(&things).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    
    	if len(things) > 1 {
    		t.Errorf("expected 1 thing got more")
    	}
    }
    
    type CompanyNew struct {
    	ID   int
    	Name int
    }
    
    func TestAlterColumnDataType(t *testing.T) {
    	DB.AutoMigrate(Company{})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  6. cmd/metacache-bucket.go

    	ctx := context.Background()
    
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return
    	}
    
    	ez, ok := objAPI.(deleteAllStorager)
    	if !ok {
    		bugLogIf(ctx, errors.New("bucketMetacache: expected objAPI to be 'deleteAllStorager'"))
    		return
    	}
    
    	b.mu.Lock()
    	defer b.mu.Unlock()
    
    	b.updated = true
    	// Delete all.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. docs/sts/wso2.md

    ### 5. Setup MinIO with OpenID configuration URL
    
    MinIO server expects environment variable for OpenID configuration url as `MINIO_IDENTITY_OPENID_CONFIG_URL`, this environment variable takes a single entry.
    
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/index.md

    It is not very popular or used nowadays.
    
    OAuth2 doesn't specify how to encrypt the communication, it expects you to have your application served with HTTPS.
    
    /// tip
    
    In the section about **deployment** you will see how to set up HTTPS for free, using Traefik and Let's Encrypt.
    
    ///
    
    ## OpenID Connect
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/archive/zip/reader_test.go

    	Modified time.Time
    
    	// Information describing expected zip file content.
    	// First, reading the entire content should produce the error ContentErr.
    	// Second, if ContentErr==nil, the content should match Content.
    	// If content is large, an alternative to setting Content is to set File,
    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  10. cmd/metrics-realtime.go

    		} else {
    			// not collecting per-cpu stats, so there will be only one element
    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    				m.Errors = append(m.Errors, fmt.Sprintf("%s: Expected one CPU stat, got %d", byHostName, len(cm)))
    			}
    		}
    		cpuCount, err := c.Counts(true)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuCount)", byHostName, err.Error()))
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top