Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,248 for decodeId (0.3 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        protected static String decodeId(final String id) {
            if (id == null) {
                return StringUtil.EMPTY;
            }
            return new String(Base64.getUrlDecoder().decode(id.getBytes(Constants.UTF_8_CHARSET)), Constants.UTF_8_CHARSET);
        }
    
        private HtmlResponse asListHtml(final String path) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/internal/pkgbits/decoder.go

    // Int64 decodes and returns a uint64 value from the element bitstream.
    func (r *Decoder) Uint64() uint64 {
    	r.Sync(SyncUint64)
    	return r.rawUvarint()
    }
    
    // Len decodes and returns a non-negative int value from the element bitstream.
    func (r *Decoder) Len() int { x := r.Uint64(); v := int(x); assert(uint64(v) == x); return v }
    
    // Int decodes and returns an int value from the element bitstream.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 20:58:46 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder.go

    	return 0, nil, nil
    }
    
    // decoder is a convenience interface for Decode.
    type decoder interface {
    	Decode(into interface{}) error
    }
    
    // YAMLOrJSONDecoder attempts to decode a stream of JSON documents or
    // YAML documents by sniffing for a leading { character.
    type YAMLOrJSONDecoder struct {
    	r          io.Reader
    	bufferSize int
    
    	decoder decoder
    }
    
    type JSONSyntaxError struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 10.2K bytes
    - Viewed (0)
  4. src/encoding/gob/decoder.go

    const tooBig = (1 << 30) << (^uint(0) >> 62)
    
    // A Decoder manages the receipt of type and data information read from the
    // remote side of a connection.  It is safe for concurrent use by multiple
    // goroutines.
    //
    // The Decoder does only basic sanity checking on decoded input sizes,
    // and its limits are not configurable. Take caution when decoding gob data
    // from untrusted sources.
    type Decoder struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go

    		// For parity with JSON, strings can be decoded into time.Time if they are RFC 3339
    		// 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()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:03:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/x86/x86asm/decode.go

    			// advance the position so that the decoded instruction
    			// size includes the byte we just compared against.
    			if decodeOp(decoder[pc]) == xJump {
    				pc = int(decoder[pc+1])
    			}
    			if decodeOp(decoder[pc]) == xFail {
    				pos++
    			}
    
    		case xCondIs64:
    			if mode == 64 {
    				pc = int(decoder[pc+1])
    			} else {
    				pc = int(decoder[pc])
    			}
    
    		case xCondIsMem:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go

    	errShort   = fmt.Errorf("truncated instruction")
    	errUnknown = fmt.Errorf("unknown instruction")
    )
    
    var decoderCover []bool
    
    // Decode decodes the leading bytes in src as a single instruction.
    func Decode(src []byte, mode Mode) (inst Inst, err error) {
    	if mode != ModeARM {
    		return Inst{}, errMode
    	}
    	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
    - 12.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/helper.go

    }
    
    func decodeListItem(obj *Unknown, decoders []Decoder) (Object, error) {
    	for _, decoder := range decoders {
    		// TODO: Decode based on ContentType.
    		obj, err := Decode(decoder, obj.Raw)
    		if err != nil {
    			if IsNotRegisteredError(err) {
    				continue
    			}
    			return nil, err
    		}
    		return obj, nil
    	}
    	// could not decode, so leave the object as Unknown, but give the decoders the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 22:54:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go

    		encode = runtime.DisabledGroupVersioner
    	}
    	if decode == nil {
    		decode = runtime.InternalGroupVersioner
    	}
    	return versioning.NewDefaultingCodecForScheme(f.scheme, encoder, decoder, encode, decode)
    }
    
    // DecoderToVersion returns a decoder that targets the provided group version.
    func (f CodecFactory) DecoderToVersion(decoder runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder {
    	return f.CodecForVersions(nil, decoder, nil, gv)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  10. 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)
Back to top