Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 172 for calculated (0.22 sec)

  1. guava/src/com/google/common/util/concurrent/ServiceManager.java

        FailedService(Service service) {
          super(
              service.toString(),
              service.failureCause(),
              false /* don't enable suppression */,
              false /* don't calculate a stack trace. */);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LongMath.java

                + Long.numberOfLeadingZeros(b)
                + Long.numberOfLeadingZeros(~b);
        if (leadingZeros > Long.SIZE + 1) {
          return a * b;
        }
        // the return value if we will overflow (which we calculate by overflowing a long :) )
        long limit = Long.MAX_VALUE + ((a ^ b) >>> (Long.SIZE - 1));
        if (leadingZeros < Long.SIZE | (a < 0 & b == Long.MIN_VALUE)) {
          // overflow
          return limit;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.19.md

    - Remove the repeated calculation of nodeName and hostname during kubelet startup, these parameters are all calculated in the `RunKubelet` method ([#90284](https://github.com/kubernetes/kubernetes/pull/90284), [@wawa0210](https://github.com/wawa0210)) [SIG Node]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

           * @since 31.1 (but only since 33.4.0 in the Android flavor)
           */
          public Schedule(Duration delay) {
            this(toNanosSaturated(delay), NANOSECONDS);
          }
        }
    
        /**
         * Calculates the time at which to next invoke the task.
         *
         * <p>This is guaranteed to be called immediately after the task has completed an iteration and
         * on the same thread as the previous execution of {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. internal/s3select/sql/value.go

    	}
    	return val, ok
    }
    
    // bytesToString - never fails, but returns empty string if value is not bytes.
    func (v Value) bytesToString() string {
    	bytes, _ := v.ToBytes()
    	return string(bytes)
    }
    
    // Calculates minimum or maximum of v and a and assigns the result to
    // v - it works only on numeric arguments, where `v` is already
    // assumed to be numeric. Attempts conversion to numeric type for `a`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  6. cmd/admin-heal-ops.go

    		return nil, ErrHealInvalidClientToken
    	}
    
    	// Take lock to access and update the heal-sequence
    	h.mutex.Lock()
    	defer h.mutex.Unlock()
    
    	numItems := len(h.currentStatus.Items)
    
    	// calculate index of most recently available heal result
    	// record.
    	lastResultIndex := h.lastSentResultIndex
    	if numItems > 0 {
    		lastResultIndex = h.currentStatus.Items[numItems-1].ResultIndex
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/MoreExecutors.java

      }
    
      // TODO(lukes): provide overloads for ListeningExecutorService? ListeningScheduledExecutorService?
      // TODO(lukes): provide overloads that take constant strings? Function<Runnable, String>s to
      // calculate names?
    
      /**
       * Creates an {@link Executor} that renames the {@link Thread threads} that its tasks run in.
       *
       * <p>The names are retrieved from the {@code nameSupplier} on the thread that is being renamed
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  8. cmd/post-policy_test.go

    func postPresignSignatureV4(policyBase64 string, t time.Time, secretAccessKey, location string) string {
    	// Get signining key.
    	signingkey := getSigningKey(secretAccessKey, t, location, "s3")
    	// Calculate signature.
    	signature := getSignature(signingkey, policyBase64)
    	return signature
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. cmd/utils.go

    func isMaxPartID(partID int) bool {
    	return partID > globalMaxPartID
    }
    
    // profilerWrapper is created because pkg/profiler doesn't
    // provide any API to calculate the profiler file path in the
    // disk since the name of this latter is randomly generated.
    type profilerWrapper struct {
    	// Profile recorded at start of benchmark.
    	records map[string][]byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    			break
    		}
    
    		var latest xlMetaV2ShallowVersion
    		if consistent {
    			// All had the same signature, easy.
    			latest = tops[0]
    			merged = append(merged, latest)
    
    			// Calculate latest 'n' non-free versions.
    			if !latest.header.FreeVersion() {
    				nVersions++
    			}
    
    		} else {
    			// Find latest.
    			var latestCount int
    			for i, ver := range tops {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top