Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 591 for Shorts (0.22 seconds)

  1. src/archive/tar/strconv_test.go

    	vectors := []struct {
    		in      string
    		wantRes string
    		wantKey string
    		wantVal string
    		ok      bool
    	}{
    		{"6 k=v\n\n", "\n", "k", "v", true},
    		{"19 path=/etc/hosts\n", "", "path", "/etc/hosts", true},
    		{"210 path=" + longName + "\nabc", "abc", "path", longName, true},
    		{"110 path=" + medName + "\n", "", "path", medName, true},
    		{"9 foo=ba\n", "", "foo", "ba", true},
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  3. internal/bpool/bpool_test.go

    	if len(bp.c) > 0 {
    		t.Fatal("bytepool should have rejected invalid packets")
    	}
    
    	// Try putting a short slice into pool
    	bp.Put(make([]byte, bp.w, bp.wcap)[:2])
    	if len(bp.c) != 1 {
    		t.Fatal("bytepool should have accepted short slice with sufficient capacity")
    	}
    
    	b = bp.Get()
    	if len(b) != width {
    		t.Fatalf("bytepool length invalid: got %v want %v", len(b), width)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(Byte.valueOf((byte) 0), ArbitraryInstances.get(Byte.class));
        assertEquals(Short.valueOf((short) 0), ArbitraryInstances.get(short.class));
        assertEquals(Short.valueOf((short) 0), ArbitraryInstances.get(Short.class));
        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(int.class));
        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(Integer.class));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  5. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

          for (int i = 0, len = charSequence.length(); i < len; i++) {
            buffer.putChar(charSequence.charAt(i));
          }
          return this;
        }
    
        @Override
        public Hasher putShort(short s) {
          ensureCapacity(Short.BYTES);
          buffer.putShort(s);
          return this;
        }
    
        @Override
        public Hasher putInt(int i) {
          ensureCapacity(Integer.BYTES);
          buffer.putInt(i);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 04 15:39:10 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    interface rpc
    {
    	/* base types */
    
    	typedef unsigned char uint8_t;
    	typedef unsigned short uint16_t;
    	typedef unsigned int uint32_t;
    
    	/* dce */
    
    	typedef struct {
    	    uint32_t time_low;
    	    uint16_t time_mid;
    	    uint16_t time_hi_and_version;
    	    uint8_t clock_seq_hi_and_reserved;
    	    uint8_t clock_seq_low;
    	    uint8_t node[6];
    	} uuid_t;
    
    	/* win32 stuff */
    
    	typedef struct {
    		uint32_t type;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/rpc.idl

    interface rpc
    {
    	/* base types */
    
    	typedef unsigned char uint8_t;
    	typedef unsigned short uint16_t;
    	typedef unsigned int uint32_t;
    
    	/* dce */
    
    	typedef struct {
    	    uint32_t time_low;
    	    uint16_t time_mid;
    	    uint16_t time_hi_and_version;
    	    uint8_t clock_seq_hi_and_reserved;
    	    uint8_t clock_seq_low;
    	    uint8_t node[6];
    	} uuid_t;
    
    	/* win32 stuff */
    
    	typedef struct {
    		uint32_t type;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.4K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

    import javax.net.ssl.SSLEngine
    import javax.net.ssl.X509ExtendedTrustManager
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * This extends [X509ExtendedTrustManager] to disable verification for a set of hosts.
     *
     * Note that the superclass [X509ExtendedTrustManager] isn't available on Android until version 7
     * (API level 24).
     */
    @IgnoreJRERequirement
    internal class InsecureExtendedTrustManager(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/PacSignatureTest.java

            // Verify
            assertEquals(defaultType, pacSignature.getType());
            assertArrayEquals(checksum, pacSignature.getChecksum());
        }
    
        /**
         * Test constructor with malformed data (too short).
         */
        @Test
        void testConstructorMalformedData() {
            // Prepare data (only 2 bytes, less than an int)
            byte[] data = new byte[] { 0x01, 0x02 };
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLongs.java

          return "UnsignedLongs.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the array, treating its elements as unsigned 64-bit integers.
       *
       * @since 23.1
       */
      public static void sort(long[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top