Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 146 for computes (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. lib/hg/goreposum.py

    # Copyright 2025 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    # Mercurial extension to add a 'goreposum' command that
    # computes a hash of a remote repo's tag state.
    # Tag definitions can come from the .hgtags file stored in
    # any head of any branch, and the server protocol does not
    # expose the tags directly. However, the protocol does expose
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Nov 11 15:21:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

                return null;
            }
    
            return Coordinates.of(groupId, artifactId, version);
        }
    
        /**
         * Computes all artifacts from all POMs in a multi-module project.
         * This includes resolving parent inheritance.
         *
         * @param context the upgrade context for logging
         * @param pomMap map of all POM files in the project
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. internal/s3select/sql/timestampfuncs.go

    	case timePartSecond:
    		duration = time.Duration(qty) * time.Second
    	default:
    		return nil, errNotImplemented
    	}
    	return FromTimestamp(t.Add(duration)), nil
    }
    
    // dateDiff computes the difference between two times in terms of the
    // `timePart` which can be years, months, days, hours, minutes or
    // seconds. For difference in years, months or days, the time part,
    // including timezone is ignored.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

            list.add(closeable, closingExecutor);
          }
          return closeable;
        }
      }
    
      /**
       * An operation that computes a result.
       *
       * @param <V> the type of the result
       */
      public interface ClosingCallable<V extends @Nullable Object> {
        /**
         * Computes a result, or throws an exception if unable to do so.
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 13:51:27 GMT 2025
    - 96.9K bytes
    - Click Count (0)
  5. cmd/httprange.go

    	case h.End == -1:
    		rangeLength = resourceSize - h.Start
    
    	default:
    		return 0, errors.New("Unexpected range specification case")
    	}
    
    	return rangeLength, nil
    }
    
    // GetOffsetLength computes the start offset and length of the range
    // given the size of the resource
    func (h *HTTPRangeSpec) GetOffsetLength(resourceSize int64) (start, length int64, err error) {
    	if h == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         */
        public boolean isPreferredMech(ASN1ObjectIdentifier mechanism) {
            return NtlmContext.NTLMSSP_OID.equals(mechanism);
        }
    
        /**
         * Computes the 24 byte ANSI password hash given the 8 byte server challenge.
         *
         * @param tc the CIFS context
         * @param chlng the server challenge
         * @return the hash for the given challenge
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

      //
      // 1) Optimal k = b * ln2
      // 2) p = (1 - e ^ (-kn/m))^k
      // 3) For optimal k: p = 2 ^ (-k) ~= 0.6185^b
      // 4) For optimal k: m = -nlnp / ((ln2) ^ 2)
    
      /**
       * Computes the optimal number of hash functions (k) for a given false positive probability (p).
       *
       * <p>See http://en.wikipedia.org/wiki/File:Bloom_filter_fp_probability.svg for the formula.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 19:23:59 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

          put(range, value);
          return;
        }
    
        Range<K> coalescedRange = coalescedRange(range, checkNotNull(value));
        put(coalescedRange, value);
      }
    
      /** Computes the coalesced range for the given range+value - does not mutate the map. */
      private Range<K> coalescedRange(Range<K> range, V value) {
        Range<K> coalescedRange = range;
        Entry<Cut<K>, RangeMapEntry<K, V>> lowerEntry =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. internal/rest/client.go

    }
    
    // LastError returns previous error
    func (c *Client) LastError() error {
    	c.RLock()
    	defer c.RUnlock()
    	return fmt.Errorf("[%s] %w", c.lastErrTime.Format(time.RFC3339), c.lastErr)
    }
    
    // computes the exponential backoff duration according to
    // https://www.awsarchitectureblog.com/2015/03/backoff.html
    func exponentialBackoffWait(r *rand.Rand, unit, maxSleep time.Duration) func(uint) time.Duration {
    	if unit > time.Hour {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/TreeRangeMap.java

          put(range, value);
          return;
        }
    
        Range<K> coalescedRange = coalescedRange(range, checkNotNull(value));
        put(coalescedRange, value);
      }
    
      /** Computes the coalesced range for the given range+value - does not mutate the map. */
      private Range<K> coalescedRange(Range<K> range, V value) {
        Range<K> coalescedRange = range;
        Entry<Cut<K>, RangeMapEntry<K, V>> lowerEntry =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 26.5K bytes
    - Click Count (0)
Back to Top