- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 2,880 for math (0.03 sec)
-
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
} // Use context handle bytes to create a unique ID StringBuilder sb = new StringBuilder("WITNESS-"); for (int i = 0; i < Math.min(contextHandle.length, 8); i++) { sb.append(String.format("%02X", contextHandle[i] & 0xFF)); } sb.append("-").append(shareName.hashCode()); return sb.toString(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedLong.java
import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.math.BigInteger; import org.jspecify.annotations.Nullable; /** * A wrapper class for unsigned {@code long} values, supporting arithmetic operations. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 8.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
* merge does not affect its value. For example, if {@code rangeMap} had one entry {@code [1, 5] * => 3} then {@code rangeMap.merge(Range.closed(0,2), 3, Math::max)} could yield a map with the * entries {@code [0, 1) => 3, [1, 2] => 3, (2, 5] => 3}. * * @since 28.1 */ void merge( Range<K> range, @Nullable V value,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.6K bytes - Viewed (0) -
cmd/site-replication-utils.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" "maps" "math/rand" "sync" "time" "github.com/minio/madmin-go/v3" ) //go:generate msgp -file=$GOFILE // SiteResyncStatus captures current replication resync status for a target site type SiteResyncStatus struct {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
byte[] buffer = new byte[bufferSize]; FileFsSizeInformation info = new FileFsSizeInformation(); int decoded = info.decode(buffer, 0, Math.min(bufferSize, 24)); assertEquals(24, decoded); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
// CAP_LARGE_WRITE if (th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive()) { this.writeSizeFile = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70); } else { log.debug("No support or SMB signing is enabled, not enabling large writes"); this.writeSizeFile = this.writeSize; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
import static com.google.common.collect.testing.SampleElements.Strings.BEFORE_FIRST; import static com.google.common.collect.testing.SampleElements.Strings.BEFORE_FIRST_2; import static java.lang.Math.max; import static java.util.Arrays.asList; import static java.util.Collections.sort; import static junit.framework.Assert.assertEquals; import com.google.common.annotations.GwtCompatible;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
} long delay = initialDelayMs; for (int i = 1; i < attemptNumber; i++) { delay = (long) (delay * backoffMultiplier); } return Math.min(delay, maxDelayMs); } public int getMaxAttempts() { return maxAttempts; } public long getInitialDelayMs() { return initialDelayMs;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
holder.resourceType); if (holder.allocationStackTrace != null) { StringBuilder sb = new StringBuilder("Allocation stack trace:\n"); for (int i = 0; i < Math.min(10, holder.allocationStackTrace.length); i++) { sb.append("\tat ").append(holder.allocationStackTrace[i]).append("\n"); } log.error(sb.toString()); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
lastAttempt = now; } void recordSuccess() { // Reduce counter on success to allow recovery recentAttempts.updateAndGet(val -> Math.max(0, val - 1)); } void reset() { recentAttempts.set(0); blocked.set(false); blockExpiry = null; windowStart = Instant.now(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0)