- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 629 for reencode (0.18 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go
} if err != nil { return nil, err } t.cache.set(cacheKey, transformer) return transformer, nil } // doEncode encodes the EncryptedObject to a byte array. func (t *envelopeTransformer) doEncode(request *kmstypes.EncryptedObject) ([]byte, error) { if err := ValidateEncryptedObject(request); err != nil { return nil, err } return proto.Marshal(request) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 00:23:50 UTC 2023 - 18.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
return "4b324fc8-1670-01d3-1278-5a47bf6ee188:3.0"; } public static class ShareInfo0 extends NdrObject { public String netname; @Override public void encode ( NdrBuffer _dst ) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(this.netname, 1); if ( this.netname != null ) { _dst = _dst.deferred;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:40:13 UTC 2019 - 19.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt
) ) { // Skip this character. } else if (codePoint == ' '.code && encodeSet === FORM_ENCODE_SET) { // Encode ' ' as '+'. writeUtf8("+") } else if (codePoint == '+'.code && plusIsSpace) { // Encode '+' as '%2B' since we permit ' ' to be encoded as either '+' or '%20'. writeUtf8(if (alreadyEncoded) "+" else "%2B") } else if (codePoint < 0x20 ||
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/api/testing/serialization_proto_test.go
} } // BenchmarkEncodeCodec measures the cost of performing a codec encode, which includes // reflection (to clear APIVersion and Kind) func BenchmarkEncodeCodecProtobuf(b *testing.B) { items := benchmarkItems(b) width := len(items) s := protobuf.NewSerializer(nil, nil) b.ResetTimer() for i := 0; i < b.N; i++ { if _, err := runtime.Encode(s, &items[i%width]); err != nil { b.Fatal(err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 7.1K bytes - Viewed (0) -
docs_src/security/tutorial007_an.py
): current_username_bytes = credentials.username.encode("utf8") correct_username_bytes = b"stanleyjobson" is_correct_username = secrets.compare_digest( current_username_bytes, correct_username_bytes ) current_password_bytes = credentials.password.encode("utf8") correct_password_bytes = b"swordfish" is_correct_password = secrets.compare_digest(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 1.2K bytes - Viewed (0) -
buildscripts/heal-manual.go
enc := json.NewEncoder(os.Stdout) if err = enc.Encode(&start); err != nil { log.Fatalln(err) } fmt.Println() for { _, status, err := madmClnt.Heal(context.Background(), "healing-rewrite-bucket", "", opts, start.ClientToken, false, false) if status.Summary == "finished" { fmt.Println("Healstatus on items ===") for _, item := range status.Items { if err = enc.Encode(&item); err != nil { log.Fatalln(err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 27 09:47:58 UTC 2024 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/modes_test.go
"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes" ) var encModeNames = map[cbor.EncMode]string{ modes.Encode: "Encode", modes.EncodeNondeterministic: "EncodeNondeterministic", } var allEncModes = []cbor.EncMode{ modes.Encode, modes.EncodeNondeterministic, } var decModeNames = map[cbor.DecMode]string{ modes.Decode: "Decode", modes.DecodeLax: "DecodeLax", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Credentials.kt
* limitations under the License. */ package okhttp3 import java.nio.charset.Charset import kotlin.text.Charsets.ISO_8859_1 import okio.ByteString.Companion.encode /** Factory for HTTP authorization credentials. */ object Credentials { /** Returns an auth credential for the Basic scheme. */ @JvmStatic @JvmOverloads fun basic( username: String,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete_test.go
) type mockCodecs struct { serializer.CodecFactory err error } type mockCodec struct { runtime.Codec codecs *mockCodecs } func (p mockCodec) Encode(obj runtime.Object, w io.Writer) error { err := p.Codec.Encode(obj, w) p.codecs.err = err return err } func (s *mockCodecs) EncoderForVersion(encoder runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 8.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
encodingInputs[i] = new byte[n]; rng.nextBytes(encodingInputs[i]); decodingInputs[i] = encoding.encoding.encode(encodingInputs[i]); } } @Benchmark public int encode(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { tmp += System.identityHashCode(encoding.encoding.encode(encodingInputs[i & INPUTS_MASK])); } return tmp; } @Benchmark public int decode(int reps) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0)