Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,705 for math (0.01 sec)

  1. src/bytes/bytes_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"internal/asan"
    	"internal/testenv"
    	"iter"
    	"math"
    	"math/rand"
    	"slices"
    	"strings"
    	"testing"
    	"unicode"
    	"unicode/utf8"
    	"unsafe"
    )
    
    func sliceOfString(s [][]byte) []string {
    	result := make([]string, len(s))
    	for i, v := range s {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

     * the License.
     */
    
    package com.google.common.net;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.lang.Math.max;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.CharMatcher;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.max;
    import static java.lang.reflect.Modifier.isStatic;
    import static java.util.concurrent.TimeUnit.MICROSECONDS;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.max;
    import static java.lang.reflect.Modifier.isStatic;
    import static java.util.concurrent.TimeUnit.MICROSECONDS;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. cmd/metacache-stream.go

    		}
    		return nil
    	}
    	return &w
    }
    
    // write one or more objects to the stream in order.
    // It is favorable to send as many objects as possible in a single write,
    // but no more than math.MaxUint32
    func (w *metacacheWriter) write(objs ...metaCacheEntry) error {
    	if w == nil {
    		return errors.New("metacacheWriter: nil writer")
    	}
    	if len(objs) == 0 {
    		return nil
    	}
    	if w.creator != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.SerializableTester;
    import java.math.BigInteger;
    import java.util.List;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ImmutableRangeSet}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  7. android/pom.xml

                  <arg>-Xlint:-removal,-options</arg>
                </compilerArgs>
                <annotationProcessorPaths>
                  <path>
                    <groupId>com.google.errorprone</groupId>
                    <artifactId>error_prone_core</artifactId>
                    <version>2.36.0</version>
                  </path>
                </annotationProcessorPaths>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  8. pom.xml

                  <arg>-Xlint:-removal,-options</arg>
                </compilerArgs>
                <annotationProcessorPaths>
                  <path>
                    <groupId>com.google.errorprone</groupId>
                    <artifactId>error_prone_core</artifactId>
                    <version>2.36.0</version>
                  </path>
                </annotationProcessorPaths>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashMap.java

    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.collect.NullnessCasts.unsafeNull;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            AtomicInteger calls = new AtomicInteger();
            doAnswer(inv -> {
                int len = inv.getArgument(2);
                // First call returns len-1, second returns 1
                return calls.getAndIncrement() == 0 ? Math.max(1, len - 1) : 1;
            }).when(raf).read(any(byte[].class), anyInt(), anyInt());
            byte[] dst = new byte[4];
            assertDoesNotThrow(() -> raf.readFully(dst));
            assertEquals(2, calls.get());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top