- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 1,844 for Math (0.02 sec)
-
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. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/archive/tar/reader_test.go
tr := NewReader(&buf) h, err := tr.Next() if err != ErrInsecurePath { t.Errorf("tr.Next for file %q: got err %v, want ErrInsecurePath", path, err) continue } if h.Name != path { t.Errorf("tr.Next for file %q: got name %q, want %q", path, h.Name, path) } // Error should not be sticky. h, err = tr.Next() if err != nil { t.Errorf("tr.Next for file %q: got err %v, want nil", securePath, err)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.hash; import static java.lang.Math.min; import static java.lang.invoke.MethodHandles.byteArrayViewVarHandle; import static java.nio.ByteOrder.LITTLE_ENDIAN; import com.google.common.annotations.VisibleForTesting; import com.google.common.primitives.Longs;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (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++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
import static com.google.common.collect.Iterators.elementsEqual; import static java.lang.Math.min; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Function; import com.google.common.math.IntMath; import com.google.common.primitives.Ints;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 15.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
import java.lang.reflect.Array; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.math.BigDecimal; import java.math.BigInteger; import java.nio.Buffer; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.DoubleBuffer; import java.nio.FloatBuffer; import java.nio.IntBuffer;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0)