Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 282 for cmath (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static java.lang.Math.min;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.math.LongMath;
    import java.util.concurrent.TimeUnit;
    
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.collect.Serialization.FieldSetter;
    import com.google.common.math.IntMath;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.j2objc.annotations.WeakOuter;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

            }
            // read fewer than the max number of chars to read
            // shouldn't be a problem unless the buffer is shrinking each call
            return in.read(cbuf, off, Math.max(len - 1024, 0));
          }
        };
      }
    
      /** Wrap an appendable in an appendable to defeat any type specific optimizations. */
      private static Appendable wrapAsGenericAppendable(final Appendable a) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            }
            // read fewer than the max number of chars to read
            // shouldn't be a problem unless the buffer is shrinking each call
            return in.read(cbuf, off, Math.max(len - 1024, 0));
          }
        };
      }
    
      /** Wrap an appendable in an appendable to defeat any type specific optimizations. */
      private static Appendable wrapAsGenericAppendable(final Appendable a) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTesting.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.truth.Truth.assertThat;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/PercentEscaper.java

       * information.
       */
      private static boolean[] createSafeOctets(String safeChars) {
        int maxChar = -1;
        char[] safeCharArray = safeChars.toCharArray();
        for (char c : safeCharArray) {
          maxChar = Math.max(c, maxChar);
        }
        boolean[] octets = new boolean[maxChar + 1];
        for (char c : safeCharArray) {
          octets[c] = true;
        }
        return octets;
      }
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

        List<Double> one = Arrays.asList((double) 1);
        assertThat(Doubles.toArray(one)).isEqualTo(ARRAY1);
    
        double[] array = {(double) 0, (double) 1, Math.PI};
    
        List<Double> three = Arrays.asList((double) 0, (double) 1, Math.PI);
        assertThat(Doubles.toArray(three)).isEqualTo(array);
    
        assertThat(Doubles.toArray(Doubles.asList(array))).isEqualTo(array);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        List<Double> one = Arrays.asList((double) 1);
        assertThat(Doubles.toArray(one)).isEqualTo(ARRAY1);
    
        double[] array = {(double) 0, (double) 1, Math.PI};
    
        List<Double> three = Arrays.asList((double) 0, (double) 1, Math.PI);
        assertThat(Doubles.toArray(three)).isEqualTo(array);
    
        assertThat(Doubles.toArray(Doubles.asList(array))).isEqualTo(array);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        // java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()
        //
        // TODO(user): Consider scaling by number of mutator threads,
        // e.g. using Thread#activeCount()
        return Math.max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L));
      }
    
      /**
       * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage collector
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Function;
    import com.google.common.base.Objects;
    import com.google.common.math.IntMath;
    import com.google.common.primitives.Ints;
    import java.io.Serializable;
    import java.math.RoundingMode;
    import java.util.AbstractList;
    import java.util.AbstractSequentialList;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top