- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 2,880 for math (0.02 sec)
-
tests/test_jsonable_encoder.py
obj = ModelWithPath(path=PurePosixPath("/foo", "bar")) assert jsonable_encoder(obj) == {"path": "/foo/bar"} def test_encode_model_with_pure_windows_path(): class ModelWithPath(BaseModel): path: PureWindowsPath model_config = {"arbitrary_types_allowed": True} obj = ModelWithPath(path=PureWindowsPath("/foo", "bar")) assert jsonable_encoder(obj) == {"path": "\\foo\\bar"}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
if (buffer.remaining() >= needed) { return; } int currentCapacity = buffer.capacity(); int requiredCapacity = buffer.position() + needed; int newCapacity = Math.max(currentCapacity * 2, requiredCapacity); ByteBuffer newBuffer = ByteBuffer.allocate(newCapacity).order(ByteOrder.LITTLE_ENDIAN); // We must switch the old buffer to read mode to extract data
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 04 15:39:10 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java
* the file ID to query information for */ public Smb2QueryInfoRequest(final Configuration config, final byte[] fileId) { super(config, SMB2_QUERY_INFO); this.outputBufferLength = Math.min(config.getMaximumBufferSize(), config.getListSize()) - Smb2QueryInfoResponse.OVERHEAD & ~0x7; this.fileId = fileId; } /** * {@inheritDoc} *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
final Decodable i = createInformation(this.expectInfoType, this.expectInfoClass); if (i != null) { i.decode(buffer, bufferOffset, bufferLength); } bufferIndex = Math.max(bufferIndex, bufferOffset + bufferLength); this.info = i; return bufferIndex - start; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0) -
cmd/callhome.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "compress/gzip" "context" "encoding/json" "errors" "fmt" "math/rand" "net/url" "time" "github.com/minio/madmin-go/v3" ) var callhomeLeaderLockTimeout = newDynamicTimeout(30*time.Second, 10*time.Second) // initCallhome will start the callhome task in the background.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.3K bytes - Viewed (0) -
internal/hash/crc.go
// Used uint for unsigned long. Used uint32 for input arguments in order to match // the Go hash/crc32 package. zlib CRC32 combine (https://github.com/madler/zlib) // Modified for hash/crc64 by Klaus Post, 2024. func gf2MatrixTimes(mat []uint64, vec uint64) uint64 { var sum uint64 for vec != 0 { if vec&1 != 0 { sum ^= mat[0] } vec >>= 1 mat = mat[1:] } return sum }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 20 14:49:07 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
import static com.google.common.base.StandardSystemProperty.OS_NAME; import static com.google.common.primitives.Bytes.concat; import static com.google.common.truth.Truth.assertThat; import static java.lang.Math.min; import static java.nio.file.attribute.PosixFilePermission.OWNER_READ; import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE; import static org.junit.Assert.assertThrows; import java.io.File;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 16:30:29 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
api/go1.4.txt
pkg image/png, type Encoder struct pkg image/png, type Encoder struct, CompressionLevel CompressionLevel # CL 101750048 math: implement Nextafter32, Robert Griesemer <******@****.***> pkg math, func Nextafter32(float32, float32) float32 # CL 93550043 math/big: implement Rat.Float32, Robert Griesemer <******@****.***> pkg math/big, method (*Rat) Float32() (float32, bool)
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
) } } private fun assertData(hex: String) { assertData(hex.decodeHex()) } private fun assertData(expected: ByteString) { val actual = data.readByteString(Math.min(expected.size.toLong(), data.size)) assertThat(actual).isEqualTo(expected) } companion object { private fun binaryData(length: Int): ByteString { val junk = ByteArray(length)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9.3K bytes - Viewed (0)