- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 2,880 for math (0.02 sec)
-
guava/src/com/google/common/graph/AbstractBaseGraph.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; import com.google.common.collect.Sets; import com.google.common.collect.UnmodifiableIterator; import com.google.common.math.IntMath; import com.google.common.primitives.Ints; import java.util.AbstractSet; import java.util.Set; import org.jspecify.annotations.Nullable; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.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.GwtIncompatible; import com.google.common.primitives.Ints; import java.util.Arrays; import java.util.Objects; import org.jspecify.annotations.Nullable; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
// You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "encoding/hex" "fmt" "math/rand" "reflect" "testing" ) // Tests caclculating disk count. func TestDiskCount(t *testing.T) { testCases := []struct { disks []StorageAPI diskCount int }{ // Test case - 1 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
log.debug("Error checking connection idle time: {}", e.getMessage()); } } // Remove at most half of the idle connections int toRemoveCount = Math.min(idle.size(), Math.max(1, idle.size() / 2)); for (int i = 0; i < toRemoveCount; i++) { SmbTransportImpl transport = idle.get(i); if (connections.remove(transport)) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
INSTANCE; @Override public int compare(boolean[] left, boolean[] right) { // do not static import Math.min due to https://bugs.openjdk.org/browse/JDK-8357219 @SuppressWarnings("StaticImportPreferred") int minLength = Math.min(left.length, right.length); for (int i = 0; i < minLength; i++) { int result = Boolean.compare(left[i], right[i]); if (result != 0) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
@SuppressWarnings("InlineMeInliner") public void testCompare() { for (char x : VALUES) { for (char y : VALUES) { assertWithMessage("%s, %s", x, y) .that(Math.signum(Chars.compare(x, y))) .isEqualTo(Math.signum(Character.compare(x, y))); } } } public void testContains() { assertThat(Chars.contains(EMPTY, (char) 1)).isFalse();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 25.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
INSTANCE; @Override public int compare(boolean[] left, boolean[] right) { // do not static import Math.min due to https://bugs.openjdk.org/browse/JDK-8357219 @SuppressWarnings("StaticImportPreferred") int minLength = Math.min(left.length, right.length); for (int i = 0; i < minLength; i++) { int result = Boolean.compare(left[i], right[i]); if (result != 0) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
import static com.google.common.collect.CollectPreconditions.checkNonnegative; import static java.lang.Math.min; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import com.google.common.base.Predicate; import com.google.common.base.Predicates; import com.google.common.math.IntMath; import com.google.common.primitives.Ints; import java.util.AbstractCollection;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.6K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
import static com.google.common.base.Preconditions.checkPositionIndexes; import static java.lang.Math.max; import static java.lang.Math.min; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.math.IntMath; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.ByteArrayInputStream;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0)