Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Ceil (0.02 sec)

  1. src/main/java/jcifs/smb1/util/Base64.java

         */
        public static String encode(final byte[] bytes) {
            int length = bytes.length;
            if (length == 0) {
                return "";
            }
            final StringBuilder buffer = new StringBuilder((int) Math.ceil(length / 3d) * 4);
            final int remainder = length % 3;
            length -= remainder;
            int block;
            int i = 0;
            while (i < length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. cmd/benchmark-utils_test.go

    	b.ReportAllocs()
    	// the actual benchmark for PutObjectPart starts here. Reset the benchmark timer.
    
    	for i := 0; b.Loop(); i++ {
    		// insert the object.
    		totalPartsNR := int(math.Ceil(float64(objSize) / float64(partSize)))
    		for j := range totalPartsNR {
    			if j < totalPartsNR-1 {
    				textPartData = textData[j*partSize : (j+1)*partSize-1]
    			} else {
    				textPartData = textData[j*partSize:]
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. cmd/utils.go

    // of crashing.
    func ceilFrac(numerator, denominator int64) (ceil int64) {
    	if denominator == 0 {
    		// do nothing on invalid input
    		return
    	}
    	// Make denominator positive
    	if denominator < 0 {
    		numerator = -numerator
    		denominator = -denominator
    	}
    	ceil = numerator / denominator
    	if numerator > 0 && numerator%denominator != 0 {
    		ceil++
    	}
    	return
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  4. cmd/bucket-object-lock.go

    	}
    
    	// Pass in relative days from current time, to additionally
    	// to verify "object-lock-remaining-retention-days" policy if any.
    	days := int(math.Ceil(math.Abs(objRetention.RetainUntilDate.Sub(t).Hours()) / 24))
    
    	ret := objectlock.GetObjectRetentionMeta(oi.UserDefined)
    	if ret.Mode.Valid() {
    		// Retention has expired you may change whatever you like.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SmbCircuitBreaker.java

                // Calculate 95th percentile
                long[] sortedTimes = responseTimeHistory.stream().mapToLong(Long::longValue).sorted().toArray();
                int p95Index = (int) Math.ceil(0.95 * sortedTimes.length) - 1;
                p95Index = Math.max(0, Math.min(p95Index, sortedTimes.length - 1));
                p95ResponseTime.set(sortedTimes[p95Index]);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

     * (unless there are {@link Double#NaN NaN} values, see below); otherwise, the result is the average
     * of the values which would appear at the indexes floor(x) and ceil(x) weighted by (1-frac(x)) and
     * frac(x) respectively. This is the same definition as used by Excel and by S, it is the Type 7
     * definition in <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/LongMath.java

                roundFloorAsDouble = roundArbitrarily;
                roundFloor = roundArbitrarilyAsLong;
                roundCeilingAsDouble = Math.nextUp(roundArbitrarily);
                roundCeiling = (long) Math.ceil(roundCeilingAsDouble);
              } else {
                roundCeilingAsDouble = roundArbitrarily;
                roundCeiling = roundArbitrarilyAsLong;
                roundFloorAsDouble = DoubleUtils.nextDown(roundArbitrarily);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/query-params.md

    # Query-Parameter
    
    Wenn Sie in ihrer Funktion Parameter deklarieren, die nicht Teil der Pfad-Parameter sind, dann werden diese automatisch als „Query“-Parameter interpretiert.
    
    {* ../../docs_src/query_params/tutorial001.py hl[9] *}
    
    Query-Parameter (Deutsch: Abfrage-Parameter) sind die Schlüssel-Wert-Paare, die nach dem `?` in einer URL aufgelistet sind, getrennt durch `&`-Zeichen.
    
    Zum Beispiel sind in der URL:
    
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/path-params.md

    Beachten Sie, dass der Pfad-Parameter dort als Ganzzahl deklariert ist.
    
    ///
    
    ## Nützliche Standards. Alternative Dokumentation
    
    Und weil das generierte Schema vom <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md" class="external-link" target="_blank">OpenAPI</a>-Standard kommt, gibt es viele kompatible Tools.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/security/oauth2-scopes.md

    Wir verwenden immer noch dasselbe `OAuth2PasswordRequestForm`. Es enthält eine Eigenschaft `scopes` mit einer `list`e von `str`s für jeden Scope, den es im Request erhalten hat.
    
    Und wir geben die Scopes als Teil des JWT-Tokens zurück.
    
    /// danger | Gefahr
    
    Der Einfachheit halber fügen wir hier die empfangenen Scopes direkt zum Token hinzu.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top