Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,049 for encodeTo (0.16 sec)

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

                        () -> asListHtml(encodeId(form.path)));
    
            }
            saveInfo(messages -> messages.addSuccessUploadFileToStorage(GLOBAL, form.uploadFile.getFileName()));
            return redirectWith(getClass(), moreUrl("list/" + encodeId(form.path)));
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
    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. staging/src/k8s.io/apiserver/pkg/server/storage/storage_factory.go

    	cohabitatingResources []schema.GroupResource
    	// encoderDecoratorFn is optional and may wrap the provided encoder prior to being serialized.
    	encoderDecoratorFn func(runtime.Encoder) runtime.Encoder
    	// decoderDecoratorFn is optional and may wrap the provided decoders (can add new decoders). The order of
    	// returned decoders will be priority for attempt to decode.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 13:35:58 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    )
    
    // For is equivalent to new(Encoder).For(obj).
    //
    // It may be more efficient to reuse a single Encoder across several calls.
    func For(obj types.Object) (Path, error) {
    	return new(Encoder).For(obj)
    }
    
    // An Encoder amortizes the cost of encoding the paths of multiple objects.
    // The zero value of an Encoder is ready to use.
    type Encoder struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/image/png/fuzz_test.go

    			DefaultCompression,
    			NoCompression,
    			BestSpeed,
    			BestCompression,
    		}
    		for _, l := range levels {
    			var w bytes.Buffer
    			e := &Encoder{CompressionLevel: l}
    			err = e.Encode(&w, img)
    			if err != nil {
    				t.Errorf("failed to encode valid image: %s", err)
    				continue
    			}
    			img1, err := Decode(&w)
    			if err != nil {
    				t.Errorf("failed to decode roundtripped image: %s", err)
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 15:56:27 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. cmd/kube-scheduler/app/options/configfile.go

    	if !ok {
    		return buf, fmt.Errorf("unable to locate encoder -- %q is not a supported media type", mediaType)
    	}
    
    	var encoder runtime.Encoder
    	switch cfg.TypeMeta.APIVersion {
    	case configv1.SchemeGroupVersion.String():
    		encoder = scheme.Codecs.EncoderForVersion(info.Serializer, configv1.SchemeGroupVersion)
    	default:
    		encoder = scheme.Codecs.EncoderForVersion(info.Serializer, configv1.SchemeGroupVersion)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 17 05:27:21 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. 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)
  7. src/unicode/utf16/utf16.go

    // It returns -1 if the rune is not a valid value to encode in UTF-16.
    func RuneLen(r rune) int {
    	switch {
    	case 0 <= r && r < surr1, surr3 <= r && r < surrSelf:
    		return 1
    	case surrSelf <= r && r <= maxRune:
    		return 2
    	default:
    		return -1
    	}
    }
    
    // Encode returns the UTF-16 encoding of the Unicode code point sequence s.
    func Encode(s []rune) []uint16 {
    	n := len(s)
    	for _, v := range s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    				}
    			}()
    			t.Parallel()
    
    			encoder := &fakeEncoder{
    				buf:  ctt.out,
    				errs: ctt.outErrs,
    			}
    			if ctt.statusCode == 0 {
    				ctt.statusCode = http.StatusOK
    			}
    			recorder := &fakeResponseRecorder{
    				ResponseRecorder:   httptest.NewRecorder(),
    				fe:                 encoder,
    				errorAfterEncoding: true,
    			}
    			SerializeObject(ctt.mediaType, encoder, recorder, ctt.req, ctt.statusCode, ctt.object)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/compress/bzip2/huffman.go

    		//
    		// However, for the initial call it's possible that len(codes)
    		// is zero or one. Both cases are invalid because a zero length
    		// tree cannot encode anything and a length-1 tree can only
    		// encode EOF and so is superfluous. We reject both.
    		if len(codes) < 2 {
    			return 0, StructuralError("empty Huffman tree")
    		}
    
    		// In this case the recursion doesn't always reduce the length
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedEncoder.java

            if (value == null) {
                throw new IllegalArgumentException("Cannot encode a null string.");
            }
            output.writeString(value);
        }
    
        @Override
        public void writeNullableString(@Nullable CharSequence value) {
            output.writeString(value);
        }
    
        @Override
        public void encodeChunked(EncodeAction<Encoder> writeAction) throws Exception {
            if (nested == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top