Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 338 for unsigned (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Negative value should be written as-is (interpreted as unsigned by receiver)
                assertEquals(-1L, SMBUtil.readInt8(buffer, 8));
            }
    
            @Test
            @DisplayName("Should handle zero-length file ID")
            void testZeroLengthFileId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(80, bytesRead);
            assertEquals(0, response.getDataLength());
            assertEquals(0, response.getDataRemaining());
        }
    
        @Test
        @DisplayName("Should handle data offset byte as unsigned")
        void testReadBytesWireFormatUnsignedDataOffset() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int bodyStart = 0;
            int dataLength = 5;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Ascii.java

       * 'a'/'A' returns 0 and 'z'/'Z' returns 25. Non-alpha characters return a value of 26 or greater.
       */
      private static int getAlphaIndex(char c) {
        // Fold upper-case ASCII to lower-case and make zero-indexed and unsigned (by casting to char).
        return (char) ((c | CASE_MASK) - 'a');
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Negative value should be written as-is (interpreted as unsigned by receiver)
                assertEquals(-1L, SMBUtil.readInt8(buffer, 8));
            }
    
            @Test
            @DisplayName("Should handle zero-length read")
            void testZeroLengthRead() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TF_META("v", -1, TF_ATTR_BOOL, -1);
    
      unsigned char value;
      TF_OperationGetAttrBool(oper, "v", &value, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_EQ(1, value);
    }
    
    TEST_F(CApiAttributesTest, BoolList) {
      const unsigned char list[] = {0, 1, 1, 0, 0, 1, 1};
      const size_t list_size = TF_ARRAYSIZE(list);
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. cmd/auth-handler.go

    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256Trailer &&
    		r.Method == http.MethodPut
    }
    
    // Verify if the request has AWS Streaming Signature Version '4', with unsigned content and trailer.
    func isRequestUnsignedTrailerV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == unsignedPayloadTrailer &&
    		r.Method == http.MethodPut
    }
    
    // Authorization type.
    //
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            @Test
            @DisplayName("Should handle negative values in buffer")
            void shouldHandleNegativeValuesInBuffer() throws SMBProtocolDecodingException {
                // Given - negative values (treated as unsigned in protocol)
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(-1L);
                buffer.putLong(-1L);
                buffer.putInt(-1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. doc/go_spec.html

    <pre class="grammar">
    uint8       the set of all unsigned  8-bit integers (0 to 255)
    uint16      the set of all unsigned 16-bit integers (0 to 65535)
    uint32      the set of all unsigned 32-bit integers (0 to 4294967295)
    uint64      the set of all unsigned 64-bit integers (0 to 18446744073709551615)
    
    int8        the set of all signed  8-bit integers (-128 to 127)
    int16       the set of all signed 16-bit integers (-32768 to 32767)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
  9. cmd/streaming-signature-v4.go

    	cred, seedSignature, region, seedDate, errCode := calculateSeedSignature(req, trailer)
    	if errCode != ErrNone {
    		return nil, errCode
    	}
    
    	if trailer {
    		// Discard anything unsigned.
    		req.Trailer = make(http.Header)
    		trailers := req.Header.Values(awsTrailerHeader)
    		for _, key := range trailers {
    			req.Trailer.Add(key, "")
    		}
    	} else {
    		req.Trailer = nil
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/ReferralTest.java

        @Test
        public void testMaximumValues() {
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            bb.putShort((short) 3);
            bb.putShort((short) 65535); // max unsigned short
            bb.putShort((short) 65535);
            bb.putShort((short) 65535);
            bb.putShort((short) 65535);
            bb.putShort((short) 65535);
            bb.putShort((short) 0);
            bb.putShort((short) 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top