Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 431 for unsigned (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

        @Test
        public void testByteOperations() {
            // Test byte operations that were used in the original test
            byte b = (byte) 0xFF;
            int value = b & 0xFF;
            assertEquals(255, value, "Byte to unsigned conversion should work");
    
            // Test comparison operation
            assertTrue(value == 255, "Comparison should work correctly");
        }
    
        /**
         * Encode a string as 16-bit little-endian Unicode
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        }
        return tmp;
      }
    
      private static long random() {
        return randomSource.nextLong();
      }
    
      // A random value that cannot be 0 and that is unsigned-less-than or equal
      // to the given dividend, so that we don't have half of our divisions being
      // trivial because the divisor is bigger than the dividend.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

    }  // namespace
    }  // namespace tensorflow
    
    using tensorflow::Node;
    using tensorflow::string;
    
    TF_Function* TF_GraphToFunctionWithControlOutputs(
        const TF_Graph* fn_body, const char* fn_name,
        unsigned char append_hash_to_fn_name, int num_opers,
        const TF_Operation* const* opers, int ninputs, const TF_Output* inputs,
        int noutputs, const TF_Output* outputs, const char* const* output_names,
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_internal.h

    std::string getTF_OutputDebugString(TF_Output node);
    
    // Set whether to propagate assigned device information when constructing a new
    // Graph from a GraphDef. By default assigned device information is not copied
    // and is re-computed by the runtime.
    inline void TF_ImportGraphDefOptionsSetPropagateDeviceSpec(
        TF_ImportGraphDefOptions* opts, unsigned char propagate_device_spec) {
      opts->opts.propagate_device_spec = propagate_device_spec;
    }
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ACETest.java

            @Test
            @DisplayName("Should handle signed/unsigned integer boundaries")
            void shouldHandleSignedUnsignedBoundaries() {
                // Test that GENERIC_READ is the highest bit (0x80000000)
                assertEquals(0x80000000, ACE.GENERIC_READ, "GENERIC_READ should be 0x80000000");
                assertTrue(ACE.GENERIC_READ < 0, "GENERIC_READ should be negative when treated as signed int");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    // response for anonymous/unsigned and unknown signature type HTTP request.
    
    // Here is the brief description of some of the arguments to the function below.
    //
    //	apiRouter - http.Handler with the relevant API endPoint (API endPoint under test) registered.
    //	anonReq   - unsigned *http.Request to invoke the handler's response for anonymous requests.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            // The verification should succeed (return false) since we're using the same key
            assertFalse(result);
        }
    
        @Test
        @DisplayName("Test verify method with unsigned response")
        void testVerifyWithUnsignedResponse() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[100];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        }
    
        @Test
        void testMaximumFileSize() {
            // Test with maximum unsigned 32-bit file size
            // Note: fileSize is stored as signed int in SmbComQueryInformationResponse
            // 0xFFFFFFFF becomes -1 when interpreted as signed int
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
            setFieldValue(response, "wordCount", 10);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertEquals(123456789, serverData.sessionKey);
            assertEquals(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS, serverData.capabilities);
            // readInt2 returns unsigned value, so -480 becomes 65056
            assertEquals(65056, serverData.serverTimeZone);
            assertEquals(8, serverData.encryptionKeyLength);
        }
    
        @Test
        void testReadParameterWordsWireFormat_InvalidDialect() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. internal/hash/crc.go

    const crc64NVMEPolynomial = 0xad93d23594c93659
    
    var crc64Table = crc64.MakeTable(bits.Reverse64(crc64NVMEPolynomial))
    
    // Following is ported from C to Go in 2016 by Justin Ruggles, with minimal alteration.
    // Used uint for unsigned long. Used uint32 for input arguments in order to match
    // the Go hash/crc32 package. zlib CRC32 combine (https://github.com/madler/zlib)
    // Modified for hash/crc64 by Klaus Post, 2024.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top