Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 504 for qDecode (0.09 sec)

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

    		// timestamps.
    		ByteStringToTime: cbor.ByteStringToTimeAllowed,
    	}.DecMode()
    	if err != nil {
    		panic(err)
    	}
    	return decode
    }()
    
    // DecodeLax is derived from Decode, but does not complain about unknown fields in the input.
    var DecodeLax cbor.DecMode = func() cbor.DecMode {
    	opts := Decode.DecOptions()
    	opts.ExtraReturnErrors &^= cbor.ExtraDecErrorUnknownField // clear bit
    	dm, err := opts.DecMode()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:03:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go

    var (
    	// Errors
    	errShort   = fmt.Errorf("truncated instruction")
    	errUnknown = fmt.Errorf("unknown instruction")
    )
    
    var decoderCover []bool
    
    // Decode decodes the leading bytes in src as a single instruction using
    // byte order ord.
    func Decode(src []byte, ord binary.ByteOrder) (inst Inst, err error) {
    	if len(src) < 4 {
    		return inst, errShort
    	}
    	if decoderCover == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  3. cmd/erasure-decode.go

    	}
    
    	// If we cannot decode, just return read quorum error.
    	return nil, fmt.Errorf("%w (offline-disks=%d/%d)", errErasureReadQuorum, disksNotFound, len(p.readers))
    }
    
    // Decode reads from readers, reconstructs data if needed and writes the data to the writer.
    // A set of preferred drives can be supplied. In that case they will be used and the data reconstructed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/internal/coverage/decodemeta/decode.go

    Than McIntosh <******@****.***> 1683835778 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. tests/test_local_docs.py

            redoc_favicon_url=redoc_favicon_url,
        )
        body_content = html.body.decode()
        assert redoc_js_url in body_content
        assert redoc_favicon_url in body_content
    
    
    def test_google_fonts_in_generated_redoc():
        body_with_google_fonts = get_redoc_html(
            openapi_url="/docs", title="title"
        ).body.decode()
        assert "fonts.googleapis.com" in body_with_google_fonts
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Dec 20 18:50:00 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/IsolatedCodecs.kt

        }
    
        override suspend fun ReadContext.decode(): NullValueSnapshot {
            return NullValueSnapshot.INSTANCE
        }
    }
    
    
    object IsolatedEnumValueSnapshotCodec : Codec<IsolatedEnumValueSnapshot> {
        override suspend fun WriteContext.encode(value: IsolatedEnumValueSnapshot) {
            write(value.value)
        }
    
        override suspend fun ReadContext.decode(): IsolatedEnumValueSnapshot {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/ArrayCodecs.kt

            }
        }
    
        override suspend fun ReadContext.decode(): Array<*> =
            readArray {
                read()
            }
    }
    
    
    object ShortArrayCodec : Codec<ShortArray> {
        override suspend fun WriteContext.encode(value: ShortArray) =
            writeLengthPrefixedShorts(this, value)
    
        override suspend fun ReadContext.decode() =
            readLengthPrefixedShorts(this)
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt

        assertNull(Punycode.decode("xn--a-9b.net"))
        assertEquals("a՚.net", Punycode.decode("xn--a-99b.net"))
        assertEquals("a溠.net", Punycode.decode("xn--a-999b.net"))
        assertEquals("a\uD8E2\uDF5C.net", Punycode.decode("xn--a-9999b.net"))
        assertNull(Punycode.decode("xn--a-99999b.net"))
      }
    
      @Test fun dashInPrefix() {
        testEncodeDecode(
          unicode = "klmnöpqrst-uvwxy",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

        public void test_decode() {
            assertNull(permissionHelper.decode(null));
            assertNull(permissionHelper.decode(""));
            assertNull(permissionHelper.decode(" "));
            assertNull(permissionHelper.decode("D"));
    
            assertEquals("{user}guest", permissionHelper.decode("1guest"));
            assertEquals("{role}guest", permissionHelper.decode("Rguest"));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. test/fixedbugs/issue57955.go

    package main
    
    func main() {
    	Decode[int16](nil)
    	Decode[uint16](nil)
    	Decode[float64](nil)
    }
    
    func DecodeInt16(b []byte) (int16, int) {
    	return 0, 0
    }
    
    func DecodeUint16(b []byte) (uint16, int) {
    	return 0, 0
    }
    
    func DecodeFloat64(b []byte) (float64, int) {
    	return 0, 0
    }
    
    func Decode[T any](b []byte) (T, int) {
    	switch any(*new(T)).(type) {
    	case int16:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 19:29:08 UTC 2023
    - 794 bytes
    - Viewed (0)
Back to top