Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,287 for Math (0.02 sec)

  1. android/guava/src/com/google/common/cache/CacheStats.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.math.LongMath.saturatedAdd;
    import static com.google.common.math.LongMath.saturatedSubtract;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Objects;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheStats.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.math.LongMath.saturatedAdd;
    import static com.google.common.math.LongMath.saturatedSubtract;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Objects;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import kotlin.math.abs
    import okio.ByteString
    
    internal sealed interface MappedRange {
      val rangeStart: Int
    
      data class Constant(
        override val rangeStart: Int,
        val type: Int,
      ) : MappedRange {
        val b1: Int
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

        /**
         * {@link CaseInsensitiveSet}を作成します。
         *
         * @param c
         *            コピー元のコレクション
         */
        public CaseInsensitiveSet(final Collection<String> c) {
            map = new CaseInsensitiveMap<>(Math.max((int) (c.size() / .75f) + 1, 16));
            addAll(c);
        }
    
        /**
         * {@link CaseInsensitiveSet}を作成します。
         *
         * @param initialCapacity
         *            初期容量
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileAttributesTest.java

                        // only have second precision
                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
                    else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.lang.Math.min;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.base.Preconditions;
    import java.util.Random;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.lang.Math.min;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.base.Preconditions;
    import java.util.Random;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TestLocking.java

                    synchronized (this) {
                        ltime = System.currentTimeMillis();
                        wait();
                    }
    
                    try {
                        double r = Math.random();
                        if (r < 0.333) {
                            f.exists();
    //                      System.out.print('e');
                        } else if (r < 0.667) {
                            d.listFiles();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/bug_report.yaml

            - com.google.common.escape
            - com.google.common.eventbus
            - com.google.common.graph
            - com.google.common.hash
            - com.google.common.io
            - com.google.common.math
            - com.google.common.net
            - com.google.common.primitives
            - com.google.common.reflect
            - com.google.common.testing
            - com.google.common.util.concurrent
    
      - type: dropdown
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 16 20:08:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Hashing.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.primitives.Ints;
    import javax.annotation.CheckForNull;
    
    /**
     * Static methods for implementing hash-based collections.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top