Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,287 for Math (0.05 sec)

  1. android/guava/src/com/google/common/math/BigDecimalMath.java

     * the License.
     */
    
    package com.google.common.math;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.math.BigDecimal;
    import java.math.RoundingMode;
    
    /**
     * A class for arithmetic on {@link BigDecimal} that is not covered by its built-in methods.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. internal/lsync/lrwmutex.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 lsync
    
    import (
    	"context"
    	"math"
    	"math/rand"
    	"sync"
    	"time"
    )
    
    // A LRWMutex is a mutual exclusion lock with timeouts.
    type LRWMutex struct {
    	id          string
    	source      string
    	isWriteLock bool
    	ref         int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/IntsMethodsForWeb.java

    import jsinterop.annotations.JsPackage;
    
    /** Web specializations for {@link Ints} methods. */
    public abstract class IntsMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native int min(int... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native int max(int... array);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 26 00:50:12 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. src/archive/tar/tar_test.go

    	}, {
    		in: []sparseEntry{{0, 0}}, size: -100,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{math.MaxInt64, 3}, {6, -5}}, size: 35,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{1, 3}, {6, -5}}, size: 35,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{math.MaxInt64, math.MaxInt64}}, size: math.MaxInt64,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{3, 3}}, size: 5,
    		wantValid: false,
    	}, {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

            if( len == 0 ) {
                return 0;
            }
            tot = 0;
    
            while( true ) {
                while( bip > 0 ) {
                    n = in.read( b, off, Math.min( len, bip ));
                    if( n == -1 ) {
                        return tot > 0 ? tot : -1;
                    }
                    tot += n;
                    off += n;
                    len -= n;
                    bip -= n;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            }
    
            this.maxMpxCount = Math.min(this.maxMpxCount, this.server.smaxMpxCount);
            if ( this.maxMpxCount < 1 )
                this.maxMpxCount = 1;
            this.snd_buf_size = Math.min(this.snd_buf_size, this.server.maxBufferSize);
            this.recv_buf_size = Math.min(this.recv_buf_size, this.server.maxBufferSize);
            this.tx_buf_size = Math.min(this.tx_buf_size, this.server.maxBufferSize);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      @BeforeExperiment
      void setUp() {
        // random integers will be generated in this range, then raised to the
        // power of (1/concentration) and floor()ed
        max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration));
    
        cache =
            CacheBuilder.newBuilder()
                .concurrencyLevel(segments)
                .maximumSize(maximumSize)
                .build(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.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.log;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.List;
    
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/StatsAccumulator.java

     * 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.checkState;
    import static com.google.common.math.DoubleUtils.ensureNonNegative;
    import static com.google.common.primitives.Doubles.isFinite;
    import static java.lang.Double.NaN;
    import static java.lang.Double.isNaN;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. api/go1.6.txt

    pkg image/color, var NYCbCrAModel Model
    pkg math/big, method (*Float) MarshalText() ([]uint8, error)
    pkg math/big, method (*Float) UnmarshalText([]uint8) error
    pkg math/big, method (*Int) Append([]uint8, int) []uint8
    pkg math/big, method (*Int) Text(int) string
    pkg math/rand, func Read([]uint8) (int, error)
    pkg math/rand, method (*Rand) Read([]uint8) (int, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
Back to top