Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for reencode (0.14 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/encode.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package modes
    
    import (
    	"github.com/fxamacker/cbor/v2"
    )
    
    var Encode cbor.EncMode = func() cbor.EncMode {
    	encode, err := cbor.EncOptions{
    		// Map keys need to be sorted to have deterministic output, and this is the order
    		// defined in RFC 8949 4.2.1 "Core Deterministic Encoding Requirements".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 15:31:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/internal/coverage/encodecounter/encode.go

    }
    
    func (cfw *CoverageDataWriter) writeCounters(visitor CounterVisitor, ws *slicewriter.WriteSeeker) error {
    	// Notes:
    	// - this version writes everything little-endian, which means
    	//   a call is needed to encode every value (expensive)
    	// - we may want to move to a model in which we just blast out
    	//   all counters, or possibly mmap the file and do the write
    	//   implicitly.
    	ctrb := make([]byte, 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. cmd/erasure-encode.go

    	return fmt.Errorf("%w (offline-disks=%d/%d)", writeErr, countErrs(p.errs, errDiskNotFound), len(p.writers))
    }
    
    // Encode reads from the reader, erasure-encodes the data and writes to the writers.
    func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) {
    	writer := &multiWriter{
    		writers:     writers,
    		writeQuorum: quorum,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/internal/coverage/encodemeta/encode.go

    apocelipes <******@****.***> 1709068395 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/http2/hpack/encode.go

    Cherry Mui <******@****.***> 1669134308 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/testing/cacheable_object.go

    	testCases := []struct {
    		desc           string
    		runEncode      bool
    		returnSelf     bool
    		expectedResult string
    		expectedError  error
    	}{
    		{
    			desc:      "delegate",
    			runEncode: true,
    		},
    		{
    			desc:       "delegate return self",
    			runEncode:  true,
    			returnSelf: true,
    		},
    		{
    			desc:           "cached success",
    			runEncode:      false,
    			expectedResult: "result",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 30 06:58:54 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/util.go

    }
    
    func (c stripVersionEncoder) Encode(obj runtime.Object, w io.Writer) error {
    	if co, ok := obj.(runtime.CacheableObject); ok {
    		return co.CacheEncode(c.Identifier(), c.doEncode, w)
    	}
    	return c.doEncode(obj, w)
    }
    
    func (c stripVersionEncoder) doEncode(obj runtime.Object, w io.Writer) error {
    	buf := bytes.NewBuffer([]byte{})
    	err := c.encoder.Encode(obj, buf)
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/transform/AbstractTransformStepNodeCodec.kt

        override suspend fun WriteContext.encode(value: T) {
            encodePreservingSharedIdentityOf(value) { doEncode(value) }
        }
    
        override suspend fun ReadContext.decode(): T =
            decodePreservingSharedIdentity { doDecode() }
    
        protected
        abstract suspend fun WriteContext.doEncode(value: T)
    
        protected
        abstract suspend fun ReadContext.doDecode(): T
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go

    	return c.encode(obj, w, memAlloc)
    }
    
    // Encode ensures the provided object is output in the appropriate group and version, invoking
    // conversion if necessary. Unversioned objects (according to the ObjectTyper) are output as is.
    func (c *codec) Encode(obj runtime.Object, w io.Writer) error {
    	return c.encode(obj, w, nil)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/PrimitiveSink.java

       */
      @CanIgnoreReturnValue
      PrimitiveSink putUnencodedChars(CharSequence charSequence);
    
      /**
       * Puts a string into this sink using the given charset.
       *
       * <p><b>Warning:</b> This method, which reencodes the input before processing it, is useful only
       * for cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top