Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for enc (0.04 sec)

  1. cmd/storage-datatypes_test.go

    		Healing:   true,
    		Endpoint:  "http://localhost:9001/tmp/drive1",
    		MountPath: "/tmp/drive1",
    		ID:        "uuid",
    		Error:     "",
    	}
    
    	enc := gob.NewEncoder(io.Discard)
    	b.SetBytes(1)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := enc.Encode(&v)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeFileInfoMsgp(b *testing.B) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	results, err := globalSiteReplicationSys.Netperf(ctx, duration)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(toAPIErrorCode(ctx, err)), r.URL)
    		return
    	}
    	enc := json.NewEncoder(w)
    	if err := enc.Encode(results); err != nil {
    		return
    	}
    }
    
    // ClientDevNullExtraTime - return extratime for last devnull
    // [POST] /minio/admin/v3/speedtest/client/devnull/extratime
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/transition.go

    func (t Transition) IsEnabled() bool {
    	return t.set
    }
    
    // MarshalXML encodes transition field into an XML form.
    func (t Transition) MarshalXML(enc *xml.Encoder, start xml.StartElement) error {
    	if !t.set {
    		return nil
    	}
    	type transitionWrapper Transition
    	return enc.EncodeElement(transitionWrapper(t), start)
    }
    
    // UnmarshalXML decodes transition field from the XML form.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                }
                return (T) Boolean.valueOf(value.toString());
            }
            return null;
        }
    
        public static String encodeUrl(final String url) {
            final String enc = LaRequestUtil.getOptionalRequest().filter(req -> req.getCharacterEncoding() != null)
                    .map(HttpServletRequest::getCharacterEncoding).orElse(Constants.UTF_8);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. docs/iam/policies/pbac-tests.sh

    	exit 1
    fi
    
    mc cp /etc/hosts myminio1/multi-key-poc/hosts --enc-kms "myminio1/multi-key-poc/hosts=minio-default-key"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: PutObject to bucket: multi-key-poc with valid sse-kms should succeed. Failed"
    	exit 1
    fi
    
    mc cp /etc/issue myminio1/multi-key-poc/issue --enc-kms "myminio1/multi-key-poc/issue=minio-default-key-xxx" | grep "Insufficient permissions to access this path"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Encdec.java

            return Double.longBitsToDouble(dec_uint64be(src, si));
        }
    
    
        /*
         * Encode times
         */
    
        public static int enc_time ( Date date, byte[] dst, int di, int enc ) {
            long t;
    
            switch ( enc ) {
            case TIME_1970_SEC_32BE:
                return enc_uint32be((int) ( date.getTime() / 1000L ), dst, di);
            case TIME_1970_SEC_32LE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  7. docs/bucket/replication/setup_3site_replication.sh

    head -c 221227088 </dev/urandom >200M
    ./mc.RELEASE.2021-03-12T03-36-59Z cp --config-dir ~/.mc --encrypt "sitea" --quiet 200M "sitea/bucket/200M-enc-v1"
    ./mc.RELEASE.2021-03-12T03-36-59Z cp --config-dir ~/.mc --quiet 200M "sitea/bucket/200M-v1"
    
    ./mc cp --enc-s3 "sitea" --quiet 200M "sitea/bucket/200M-enc-v2"
    ./mc cp --quiet 200M "sitea/bucket/200M-v2"
    
    sleep 10
    
    echo "Verifying ETag for all objects"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. cmd/erasure-coding.go

    	}
    
    	// Encoder when needed.
    	var enc reedsolomon.Encoder
    	var once sync.Once
    	e.encoder = func() reedsolomon.Encoder {
    		once.Do(func() {
    			e, err := reedsolomon.New(dataBlocks, parityBlocks, reedsolomon.WithAutoGoroutines(int(e.ShardSize())))
    			if err != nil {
    				// Error conditions should be checked above.
    				panic(err)
    			}
    			enc = e
    		})
    		return enc
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. internal/pubsub/pubsub.go

    			atomic.AddInt32(&ps.numSubscribers, -1)
    		}()
    
    		// Read from subChT and write to subCh
    		var buf bytes.Buffer
    		enc := json.NewEncoder(&buf)
    		for {
    			select {
    			case <-doneCh:
    				return
    			case v, ok := <-subChT:
    				if !ok {
    					return
    				}
    				buf.Reset()
    				err := enc.Encode(v)
    				if err != nil {
    					return
    				}
    
    				select {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 16:57:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/expiration.go

    	}
    	b.val = exp
    	b.set = true
    	return nil
    }
    
    // MarshalXML encodes expiration field into an XML form.
    func (e Expiration) MarshalXML(enc *xml.Encoder, startElement xml.StartElement) error {
    	if !e.set {
    		return nil
    	}
    	type expirationWrapper Expiration
    	return enc.EncodeElement(expirationWrapper(e), startElement)
    }
    
    // UnmarshalXML decodes expiration field from the XML form.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top