Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,517 for byteEq (0.07 sec)

  1. cmd/metacache_gen.go

    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z scanStatus) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *scanStatus) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 uint8
    		zb0001, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  2. cmd/xl-storage-format_test.go

    		Size:   partSize,
    	}
    
    	// Proceed to include new part info.
    	m.Parts[partNumber-1] = partInfo
    }
    
    // Constructs xlMetaV1Object{} for given number of parts and converts it into bytes.
    func getXLMetaBytes(totalParts int) []byte {
    	xlSampleMeta := getSampleXLMeta(totalParts)
    	xlMetaBytes, err := json.Marshal(xlSampleMeta)
    	if err != nil {
    		panic(err)
    	}
    	return xlMetaBytes
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/bytes/61901.md

    The [bytes] package adds several functions that work with iterators:
    - [Lines] returns an iterator over the
      newline-terminated lines in the byte slice s.
    - [SplitSeq] returns an iterator over
      all substrings of s separated by sep.
    - [SplitAfterSeq] returns an iterator
      over substrings of s split after each instance of sep.
    - [FieldsSeq] returns an iterator over
      substrings of s split around runs of whitespace characters,
      as defined by unicode.IsSpace.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 582 bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import java.util.Random;
    
    /** Returns a random portion of the requested bytes on each call. */
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
        this.random = checkNotNull(random);
      }
    
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/ASN1Util.java

         *
         * BC no longer seems to allow that out of the box
         *
         * @param expectTag
         * @param in
         * @return coded bytes of the tagged object
         * @throws IOException
         */
        public static byte[] readUnparsedTagged(int expectTag, int limit, ASN1InputStream in) throws IOException {
            int ftag = in.read();
            int tag = readTagNumber(in, ftag);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. internal/crypto/sse-c.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package crypto
    
    import (
    	"bytes"
    	"context"
    	"crypto/md5"
    	"encoding/base64"
    	"net/http"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    )
    
    type ssec struct{}
    
    var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. cmd/batch-handlers_gen.go

    // MarshalMsg implements msgp.Marshaler
    func (z BatchJobPrefix) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendArrayHeader(o, uint32(len(z)))
    	for zb0003 := range z {
    		o = msgp.AppendString(o, z[zb0003])
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BatchJobPrefix) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0002 uint32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. docs/sts/client-grants.go

    	}
    
    	u, err := url.Parse(stsEndpoint)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	clnt, err := minio.New(u.Host, opts)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	d := bytes.NewReader([]byte("Hello, World"))
    	n, err := clnt.PutObject(context.Background(), "my-bucketname", "my-objectname", d, d.Size(), minio.PutObjectOptions{})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users_test.go

    	_, err := client.PutObject(ctx, bucket, "some-object", bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{})
    	if err != nil {
    		c.Fatalf("upload did not succeed got %#v", err)
    	}
    }
    
    func (c *check) mustNotUpload(ctx context.Context, client *minio.Client, bucket string) {
    	c.Helper()
    	_, err := client.PutObject(ctx, bucket, "some-object", bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common_test.go

    	}
    
    	object := "object"
    	data := bytes.Repeat([]byte("a"), smallFileThreshold*32)
    	z := obj.(*erasureServerPools)
    
    	erasureDisks, err := z.GetDisks(0, 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for i, test := range testCases {
    		test := test
    		t.Run(fmt.Sprintf("case-%d", i), func(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top