- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,508 for encodeTo (2.6 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go
Framer runtime.Framer // used to encode the watch stream event itself Encoder runtime.Encoder // used to encode the nested object in the watch stream EmbeddedEncoder runtime.Encoder MemoryAllocator runtime.MemoryAllocator TimeoutFactory TimeoutFactory ServerShuttingDownCh <-chan struct{} metricsScope string } // HandleHTTP serves a series of encoded events via HTTP with Transfer-Encoding: chunked.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 16:37:25 UTC 2023 - 11.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunication.java
encoder.writeString(uid); MultiChoiceAddress multiChoiceAddress = (MultiChoiceAddress) address; new MultiChoiceAddressSerializer().write(encoder, multiChoiceAddress); encoder.writeString(daemonLog.getPath()); } catch (IOException e) { throw new UncheckedIOException(e); } target.println(byteArrayOutputStream.toString());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 4.7K bytes - Viewed (0) -
src/vendor/golang.org/x/net/idna/punycode.go
func decode(encoded string) (string, error) { if encoded == "" { return "", nil } pos := 1 + strings.LastIndex(encoded, "-") if pos == 1 { return "", punyError(encoded) } if pos == len(encoded) { return encoded[:len(encoded)-1], nil } output := make([]rune, 0, len(encoded)) if pos != 0 { for _, r := range encoded[:pos-1] { output = append(output, r) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 09 20:10:36 UTC 2021 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go
encoder := NewCodec( &mockSerializer{}, &mockSerializer{}, &mockConvertor{}, nil, &mockTyper{gvks: []schema.GroupVersionKind{gvk1, gvk2}}, nil, gvk1.GroupVersion(), gvk2.GroupVersion(), "TestCacheableObject") runtimetesting.CacheableObjectTest(t, encoder) } func BenchmarkIdentifier(b *testing.B) { encoder := &mockSerializer{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 23 17:04:19 UTC 2022 - 12.5K bytes - Viewed (0) -
src/image/jpeg/writer.go
type Options struct { Quality int } // Encode writes the Image m to w in JPEG 4:2:0 baseline format with the given // options. Default parameters are used if a nil *[Options] is passed. func Encode(w io.Writer, m image.Image, o *Options) error { b := m.Bounds() if b.Dx() >= 1<<16 || b.Dy() >= 1<<16 { return errors.New("jpeg: image is too large to encode") } var e encoder if ww, ok := w.(writer); ok { e.w = ww
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 17.1K bytes - Viewed (0) -
src/encoding/gob/encode.go
return nil } info.encInit.Lock() defer info.encInit.Unlock() enc := info.encoder.Load() if enc == nil { if building == nil { building = make(map[*typeInfo]bool) } building[info] = true enc = compileEnc(ut, building) info.encoder.Store(enc) } return enc } func (enc *Encoder) encode(b *encBuffer, value reflect.Value, ut *userTypeInfo) { defer catchError(&enc.err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/go/internal/modindex/write.go
e.Int(position.Column) } type encoder struct { b []byte stringTable []byte strings map[string]int } func (e *encoder) Pos() int { return len(e.b) } func (e *encoder) Bytes(b []byte) { e.b = append(e.b, b...) } func (e *encoder) String(s string) { if n, ok := e.strings[s]; ok { e.Int(n) return } pos := len(e.stringTable) e.strings[s] = pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 10:10:21 UTC 2023 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/embedded.go
func (e encodable) MarshalJSON() ([]byte, error) { return Encode(e.E, e.obj) } // NewEncodableList creates an object that will be encoded with the provided codec on demand. // Provided as a convenience for test cases dealing with internal objects. func NewEncodableList(e Encoder, objects []Object, versions ...schema.GroupVersion) []Object { out := make([]Object, len(objects))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 02 09:39:03 UTC 2019 - 4.3K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
} // Now test with a running encoder/decoder pair that we recognize a type mismatch. err = enc.Encode(et1) if err != nil { t.Error("round 3: encoder fail:", err) } newEt2 := new(ET2) err = dec.Decode(newEt2) if err == nil { t.Fatal("round 3: expected `bad type' error decoding ET2") } } // Run one value through the encoder/decoder, but use the wrong type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar
dec/DecoderException.class package org.apache.commons.codec; public synchronized class DecoderException extends Exception { public void DecoderException(String); } org/apache/commons/codec/Encoder.class package org.apache.commons.codec; public abstract interface Encoder { public abstract Object encode(Object) throws EncoderException; } org/apache/commons/codec/EncoderException.class package org.apache.commons.codec; public synchronized class EncoderException extends Exception { public void Encod...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Aug 09 19:02:31 UTC 2004 - 18.4K bytes - Viewed (0)