Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,844 for Math (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            setNumEntries(response, 1);
    
            // Write share name (13 bytes, null padded)
            byte[] nameBytes = shareName.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(nameBytes, 0, buffer, bufferIndex, Math.min(nameBytes.length, 13));
            bufferIndex += 14;
    
            // Write type (2 bytes)
            SMBUtil.writeInt2(shareType, buffer, bufferIndex);
            bufferIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CompactHashMapFloodingTest.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 com.google.common.annotations.GwtIncompatible;
    import java.util.Map;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtIncompatible
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/CompactHashSetFloodingTest.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 com.google.common.annotations.GwtIncompatible;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtIncompatible
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DiscreteDomain.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.math.BigInteger;
    import java.util.NoSuchElementException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A descriptor for a <i>discrete</i> {@code Comparable} domain such as all {@link Integer}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessClient.java

                        // Exponential backoff on errors: max 30 seconds, based on consecutive failures
                        try {
                            int failures = Math.min(registration.getHeartbeatFailures(), MAX_FAILURE_LIMIT);
                            long backoffDelay = Math.min(MAX_ERROR_BACKOFF, BASE_ERROR_DELAY * (1L << failures));
                            Thread.sleep(backoffDelay);
                        } catch (InterruptedException ie) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. guava-gwt/test-super/com/google/common/math/super/com/google/common/math/TestPlatform.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 com.google.common.annotations.GwtCompatible;
    
    /**
     * @author Chris Povirk
     */
    @GwtCompatible
    final class TestPlatform {
      static boolean intsCanGoOutOfRange() {
        return true;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 909 bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            }
        }
    
        private ChannelInfo selectRoundRobin(Collection<ChannelInfo> channels) {
            List<ChannelInfo> list = new ArrayList<>(channels);
            int index = Math.abs(roundRobinCounter.getAndIncrement() % list.size());
            return list.get(index);
        }
    
        private ChannelInfo selectLeastLoaded(Collection<ChannelInfo> channels) {
            ChannelInfo leastLoadedChannel = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. tests/lru_test.go

    package tests_test
    
    import (
    	"crypto/rand"
    	"fmt"
    	"gorm.io/gorm/internal/lru"
    	"math"
    	"math/big"
    	"reflect"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestLRU_Add_ExistingKey_UpdatesValueAndExpiresAt(t *testing.T) {
    	lru := lru.NewLRU[string, int](10, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key1", 2)
    
    	if value, ok := lru.Get("key1"); !ok || value != 2 {
    		t.Errorf("Expected value to be updated to 2, got %v", value)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/Utf8Test.java

      // 18,304
      private static final long EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT =
          // Both bytes are one byte characters
          (long) Math.pow(EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT, 2)
              +
              // The possible number of two byte characters
              TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 2048
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/arm.s

    	MOVB	R0, math·Exp(SB)     // MOVB R0, math.Exp(SB)
    	MOVB	math·Exp(SB), R0     // MOVB math.Exp(SB), R0
    	MOVBS	R0, math·Exp(SB)     // MOVBS R0, math.Exp(SB)
    	MOVBS	math·Exp(SB), R0     // MOVBS math.Exp(SB), R0
    	MOVBU	R0, math·Exp(SB)     // MOVBU R0, math.Exp(SB)
    	MOVBU	math·Exp(SB), R0     // MOVBU math.Exp(SB), R0
    	MOVB	R2, R0>>28(R1)                                    // 202ec1e7
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
Back to top