- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 2,914 for math (0.08 seconds)
-
src/main/java/jcifs/pac/PacDataInputStream.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.pac; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.math.BigInteger; import java.util.Date; import jcifs.SmbConstants; import jcifs.smb.SID; /** * Input stream for reading PAC data structures with proper alignment and byte ordering.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
final byte[] addr = localInetAddress.getAddress(); localHostname = "JCIFS" + (addr[2] & 0xFF) + "_" + (addr[3] & 0xFF) + "_" + Hexdump.toHexString((int) (Math.random() * 0xFF), 2); } /* * Create an NbtAddress for the local interface with * the name deduced above possibly with scope applied and * cache it forever. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
if (blockSize == 0) blockSize = 16; // GCM mode int paddedLength = ((message.length + blockSize - 1) / blockSize) * blockSize; byte[] paddedMessage = new byte[Math.max(paddedLength, message.length)]; System.arraycopy(message, 0, paddedMessage, 0, message.length); // Encrypt with constant timing byte[] result = cipher.doFinal(paddedMessage, 0, message.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkPositionIndexes; import static java.lang.Byte.toUnsignedInt; import static java.lang.Math.min; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.nio.Buffer;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
file.open(openFlags, access, SmbFile.ATTR_NORMAL, 0); this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); } else { file.connect0(); } readSize = Math.min(file.tree.session.transport.rcv_buf_size - 70, file.tree.session.transport.server.maxBufferSize - 70); } /** * Converts an SmbException to an IOException. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
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();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static java.lang.Byte.toUnsignedInt; import static java.lang.Math.signum; import static org.junit.Assert.assertThrows; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.testing.Helpers;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 13.6K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
src/test/java/jcifs/util/HMACT64Test.java
MessageDigest md5 = MessageDigest.getInstance("MD5"); byte[] ipad = new byte[64]; byte[] opad = new byte[64]; // HMACT64 specific: truncate key to 64 bytes if needed int keyLen = Math.min(key.length, 64); for (int i = 0; i < keyLen; i++) { ipad[i] = (byte) (key[i] ^ 0x36); opad[i] = (byte) (key[i] ^ 0x5c); } for (int i = keyLen; i < 64; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
/** The key of the configuration. e.g. java */ String JAVA_COMMAND_PATH = "java.command.path"; /** The key of the configuration. e.g. python */ String PYTHON_COMMAND_PATH = "python.command.path"; /** The key of the configuration. e.g. UTF-8 */ String PATH_ENCODING = "path.encoding"; /** The key of the configuration. e.g. true */ String USE_OWN_TMP_DIR = "use.own.tmp.dir";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 576.9K bytes - Click Count (2)