Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 444 for shortp (0.06 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.putBytes(new byte[] {});
        hasher.putBytes(new byte[] {8});
        hasher.assertBytes(expected);
      }
    
      public void testShort() {
        TestHasher hasher = new TestHasher();
        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

          byte[] msg = new byte[i];
          for (int j = 0; j < i; ++j) {
            msg[j] = (byte) j;
          }
          assertSip(msg, EXPECTED[i]);
        }
      }
    
      // This test data comes from "SipHash: a fast short-input PRF", "Appendix A: Test values".
      // It can be downloaded here: https://131002.net/siphash/siphash.pdf
      public void test15ByteStringFromSipHashPaper() {
        byte[] message =
            new byte[] {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-status-code.md

    ///
    
    In HTTP, you send a numeric status code of 3 digits as part of the response.
    
    These status codes have a name associated to recognize them, but the important part is the number.
    
    In short:
    
    * `100 - 199` are for "Information". You rarely use them directly.  Responses with these status codes cannot have a body.
    * **`200 - 299`** are for "Successful" responses. These are the ones you would use the most.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        public Mall<? extends Outdoor>.Shop<Electronics> ownerTypeIsSubtype_supertypeWithWildcard(
            Outlet<Outdoor>.Shop<Electronics> shop) {
          return isSubtype(shop);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public Mall<?>.Shop<Electronics> ownerTypeIsSubtype_withWildcards(
            Outlet<? extends Outdoor>.Shop<Electronics> shop) {
          return isSubtype(shop);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

                b[off] = 0x12;
                b[off + 1] = 0x34;
                return 2;
            }).when(raf).read(any(byte[].class), anyInt(), eq(2));
            assertEquals(0x1234, raf.readUnsignedShort());
            assertEquals((short) 0x1234, raf.readShort());
            assertEquals((char) 0x1234, raf.readChar());
        }
    
        @Test
        @DisplayName("readInt/Long/Float/Double: big-endian decoding")
        void read_multiByteVariants() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

         */
        private static byte[] expectedParameters(int fid, int securityInformation) {
            ByteBuffer bb = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
            bb.putShort((short) fid);
            bb.put((byte) 0x00); // Reserved
            bb.put((byte) 0x00); // Reserved
            bb.putInt(securityInformation);
            return bb.array();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

        void testConstructorWithConfigOnly() {
            request = new Smb2SetInfoRequest(mockConfig);
    
            assertNotNull(request);
            // SMB2_SET_INFO command value is 0x0011
            assertEquals((short) 0x0011, request.getCommand());
    
            // Verify that default file ID is set
            byte[] expectedFileId = Smb2Constants.UNSPECIFIED_FILEID;
            Field fileIdField;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            });
        }
    
        @Test
        @DisplayName("Should handle buffer underflow during decode")
        void testBufferUnderflowDecode() {
            // Given
            byte[] shortBuffer = new byte[20]; // Too short for transform header
    
            // When/Then
            assertThrows(Exception.class, () -> {
                Smb2TransformHeader.decode(shortBuffer, 0);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. docs/debugging/xl-meta/main.go

    			m.size = ei.V2Obj.EcBSize
    		} else {
    			m.size -= offset
    		}
    
    		b, err := os.ReadFile(file)
    		if err != nil {
    			return nil, err
    		}
    		if len(b) < 32 {
    			return nil, fmt.Errorf("file %s too short", file)
    		}
    
    		// Extract block data.
    		ssz := shardSize(ei.V2Obj.EcBSize, ei.V2Obj.EcM)
    		b, err = bitrot(b, blockNum*ssz, ssz)
    		if err != nil {
    			return nil, err
    		}
    
    		if m.mapped == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  10. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o shortCharHandlingMode: (NotRequired - Default NONE)
        #  If the parameter of condition-bean or parameter-bean has short size,
        #   NONE - Do nothing. (default)
        #   EXCEPTION - It throws an exception.
        #   RFILL - It fills the parameter by right spaces.
        #   LFILL - It fills the parameter by left spaces.
        #
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8.8K bytes
    - Viewed (0)
Back to top