Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 849 for IBytes (0.2 sec)

  1. cmd/admin-handlers.go

    	if capacity < capacityNeeded {
    		return false, false, fmt.Sprintf("not enough usable space available to perform speedtest - expected %s, got %s",
    			humanize.IBytes(capacityNeeded), humanize.IBytes(capacity))
    	}
    
    	// Verify if we can employ autotune without running out of capacity,
    	// if we do run out of capacity, make sure to turn-off autotuning
    	// in such situations.
    	if autotune {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  2. src/bytes/buffer_test.go

    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(b[n:], r)
    		nbytes, err := buf.WriteRune(r)
    		if err != nil {
    			t.Fatalf("WriteRune(%U) error: %s", r, err)
    		}
    		if nbytes != size {
    			t.Fatalf("WriteRune(%U) expected %d, got %d", r, size, nbytes)
    		}
    		n += size
    	}
    	b = b[0:n]
    
    	// Check the resulting bytes
    	if !Equal(buf.Bytes(), b) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Bytes.java

    /**
     * Static utility methods pertaining to {@code byte} primitives, that are not already found in
     * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>.
     * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes}
     * and {@link UnsignedBytes}.
     *
     * <p>See the Guava User Guide article on <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    // license that can be found in the LICENSE file.
    
    // Package bytes implements functions for the manipulation of byte slices.
    // It is analogous to the facilities of the [strings] package.
    package bytes
    
    import (
    	"internal/bytealg"
    	"unicode"
    	"unicode/utf8"
    )
    
    // Equal reports whether a and b
    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), type IfData struct, Hdrlen uint8
    pkg syscall (freebsd-386-cgo), type IfData struct, Hwassist uint32
    pkg syscall (freebsd-386-cgo), type IfData struct, Ibytes uint32
    pkg syscall (freebsd-386-cgo), type IfData struct, Ierrors uint32
    pkg syscall (freebsd-386-cgo), type IfData struct, Imcasts uint32
    pkg syscall (freebsd-386-cgo), type IfData struct, Ipackets uint32
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  6. src/bytes/bytes_test.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"internal/testenv"
    	"math"
    	"math/rand"
    	"reflect"
    	"strings"
    	"testing"
    	"unicode"
    	"unicode/utf8"
    	"unsafe"
    )
    
    func eq(a, b []string) bool {
    	if len(a) != len(b) {
    		return false
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/Utf8Test.java

      }
    
      private static byte[] toByteArray(int... bytes) {
        byte[] realBytes = new byte[bytes.length];
        for (int i = 0; i < bytes.length; i++) {
          realBytes[i] = (byte) bytes[i];
        }
        return realBytes;
      }
    
      private static void assertWellFormed(int... bytes) {
        assertTrue(Utf8.isWellFormed(toByteArray(bytes)));
      }
    
      private static void assertNotWellFormed(int... bytes) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/Utf8Test.java

      }
    
      private static byte[] toByteArray(int... bytes) {
        byte[] realBytes = new byte[bytes.length];
        for (int i = 0; i < bytes.length; i++) {
          realBytes[i] = (byte) bytes[i];
        }
        return realBytes;
      }
    
      private static void assertWellFormed(int... bytes) {
        assertTrue(Utf8.isWellFormed(toByteArray(bytes)));
      }
    
      private static void assertNotWellFormed(int... bytes) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. schema/field_test.go

    		{Name: "BYTES", DBName: "fbytes", BindNames: []string{"BYTES"}, DataType: schema.Bytes, Creatable: true, Updatable: true, Readable: true, Tag: `gorm:"column:fbytes"`},
    	}
    
    	for _, f := range fields {
    		checkSchemaField(t, alias, f, func(f *schema.Field) {})
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

    import com.google.common.collect.Lists;
    
    public class MemoryUtilTest extends UnitFessTestCase {
    
        public void test_byteCountToDisplaySize() {
            assertEquals("0bytes", MemoryUtil.byteCountToDisplaySize(0L));
            assertEquals("999bytes", MemoryUtil.byteCountToDisplaySize(999L));
            assertEquals("1000bytes", MemoryUtil.byteCountToDisplaySize(1000L));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top