- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 1,517 for byteEq (0.06 sec)
-
android/guava-testlib/src/com/google/common/testing/Platform.java
static <T> T reserialize(T object) { checkNotNull(object); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 23 12:13:11 UTC 2023 - 1.7K bytes - Viewed (0) -
cmd/object-api-getobjectinfo_test.go
if err != nil { t.Fatalf("%s : %s", instanceType, err.Error()) } // Put an empty directory _, err = obj.PutObject(context.Background(), "test-getobjectinfo", "Asia/empty-dir/", mustGetPutObjReader(t, bytes.NewBufferString(""), int64(len("")), "", ""), opts) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
for (i in 0 until length) { val line = source.readUtf8LineStrict() val bytes = Buffer() val certificateBytes = line.decodeBase64() ?: throw IOException("Corrupt certificate in cache entry") bytes.write(certificateBytes) result.add(certificateFactory.generateCertificate(bytes.inputStream())) } return result } catch (e: CertificateException) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
@JvmName("create") fun String.toRequestBody(contentType: MediaType? = null): RequestBody { val (charset, finalContentType) = contentType.chooseCharset() val bytes = toByteArray(charset) return bytes.toRequestBody(finalContentType, 0, bytes.size) } @JvmStatic @JvmName("create") fun ByteString.toRequestBody(contentType: MediaType? = null): RequestBody = commonToRequestBody(contentType)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 25 14:41:37 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
static final byte TRANS2_FIND_FIRST2 = (byte)0x01; static final byte TRANS2_FIND_NEXT2 = (byte)0x02; static final byte TRANS2_QUERY_FS_INFORMATION = (byte)0x03; static final byte TRANS2_QUERY_PATH_INFORMATION = (byte)0x05; static final byte TRANS2_GET_DFS_REFERRAL = (byte)0x10; static final byte TRANS2_SET_FILE_INFORMATION = (byte)0x08;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
public final class Doubles extends DoublesMethodsForWeb { private Doubles() {} /** * The number of bytes required to represent a primitive {@code double} value. * * <p><b>Java 8+ users:</b> use {@link Double#BYTES} instead. * * @since 10.0 */ public static final int BYTES = Double.SIZE / Byte.SIZE; /** * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Double)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 28.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
private byte padding; private byte readFlags; private int readLength; private long offset; private int minimumCount; private int channel; private int remainingBytes; /** * @param config * @param fileId * @param outputBuffer * @param outputBufferOffset */ public Smb2ReadRequest ( Configuration config, byte[] fileId, byte[] outputBuffer, int outputBufferOffset ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.2K bytes - Viewed (0) -
cmd/iam-object-store.go
}) if err != nil { return err } } return saveConfig(ctx, iamOS.objAPI, objPath, data) } func decryptData(data []byte, objPath string) ([]byte, error) { if utf8.Valid(data) { return data, nil } pdata, err := madmin.DecryptData(globalActiveCred.String(), bytes.NewReader(data)) if err == nil { return pdata, nil } if GlobalKMS != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 26.6K bytes - Viewed (0) -
cmd/bucket-replication-handlers.go
if err = replicationConfig.Validate(bucket, sameTarget); err != nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErrWithErr(ErrReplicationValidationError, err), r.URL) return } buf := bytes.Repeat([]byte("a"), 8) for _, rule := range replicationConfig.Rules { if rule.Status == replication.Disabled { continue } clnt := globalBucketTargetSys.GetRemoteTargetClient(bucket, rule.Destination.Bucket)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
*/ public void setBuffer ( byte[] buffer ) { this.txn_buf = buffer; } /** * @return the txn_buf */ public byte[] releaseBuffer () { byte[] buf = this.txn_buf; this.txn_buf = null; return buf; } /** * @return the subCommand */ public final byte getSubCommand () { return this.subCommand;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 9.2K bytes - Viewed (0)