Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 223 for 23 (0.02 sec)

  1. guava/src/com/google/common/math/LongMath.java

        return (x & y) + ((x ^ y) >> 1);
      }
    
      /*
       * This bitmask is used as an optimization for cheaply testing for divisibility by 2, 3, or 5.
       * Each bit is set to 1 for all remainders that indicate divisibility by 2, 3, or 5, so
       * 1, 7, 11, 13, 17, 19, 23, 29 are set to 0. 30 and up don't matter because they won't be hit.
       */
      private static final int SIEVE_30 =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    		{"13 key1=val1\n13 key2=val2\n8 key1=\n",
    			map[string]string{"key1": "", "key2": "val2"}, true},
    		{"22 GNU.sparse.size=10\n26 GNU.sparse.numblocks=2\n" +
    			"23 GNU.sparse.offset=1\n25 GNU.sparse.numbytes=2\n" +
    			"23 GNU.sparse.offset=3\n25 GNU.sparse.numbytes=4\n",
    			map[string]string{paxGNUSparseSize: "10", paxGNUSparseNumBlocks: "2", paxGNUSparseMap: "1,2,3,4"}, true},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            void testReadInvalidStructureSize() {
                // Create buffer with invalid structure size
                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(23, buffer, 0); // Invalid size (should be 24)
    
                SMBProtocolDecodingException exception =
                        assertThrows(SMBProtocolDecodingException.class, () -> notification.readBytesWireFormat(buffer, 0));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/RangeTest.java

        assertThrows(IllegalArgumentException.class, () -> range.gap(Range.closed(2, 4)));
        assertThrows(IllegalArgumentException.class, () -> range.gap(Range.closed(2, 3)));
      }
    
      public void testGap_invalidRangesWithInfinity() {
        assertThrows(IllegalArgumentException.class, () -> Range.atLeast(1).gap(Range.atLeast(2)));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

            @Test
            @DisplayName("Should encode and decode correctly")
            void testEncodeAndDecode() throws SMBProtocolDecodingException {
                int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, 2, 3 };
                byte[] salt = new byte[32];
                new SecureRandom().nextBytes(salt);
    
                context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

    TEST(CAPI, Tensor) {
      const int num_bytes = 6 * sizeof(float);
      float* values =
          reinterpret_cast<float*>(tensorflow::cpu_allocator()->AllocateRaw(
              TF_TensorDefaultAlignment(), num_bytes));
      int64_t dims[] = {2, 3};
      bool deallocator_called = false;
      TF_Tensor* t = TF_NewTensor(TF_FLOAT, dims, 2, values, num_bytes,
                                  &Deallocator, &deallocator_called);
      EXPECT_FALSE(deallocator_called);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    		22: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "newPrefix1"},
    				{Name: "newzen/zen/recurse/again/again/again/pics"},
    			},
    		},
    		// ListObjectsResult-23.
    		// Prefix is set to "Asia/India/" in the testCase, and delimiter is not set (testCase 55).
    		23: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "Asia/India/India-summer-photos-1"},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	JMP -1(PC)                                 // ffffff17
    	BFIW $16, R20, $6, R0                      // 80161033
    	BFI $27, R21, $21, R25                     // b95265b3
    	BFXILW $3, R27, $23, R14                   // 6e670333
    	BFXIL $26, R8, $16, R20                    // 14a55ab3
    	BICW R7@>15, R5, R16                       // b03ce70a
    	BIC R12@>13, R12, R19                      // 9335ec8a
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 24 01:11:41 UTC 2023
    - 43.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertEquals(24, SMBUtil.readInt2(buffer, 0));
        }
    
        @Test
        @DisplayName("Test buffer overflow protection")
        void testBufferOverflowProtection() {
            byte[] smallBuffer = new byte[23]; // One byte too small
    
            // Should throw ArrayIndexOutOfBoundsException
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                request.writeBytesWireFormat(smallBuffer, 0);
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // so readBytesWireFormat() is invoked and must delegate back to readErrorResponse() when it sees size=9.
            byte[] header = buildHeader(NtStatus.NT_STATUS_INVALID_PARAMETER);
            byte[] body = buildErrorBody(2, 3, new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC });
            byte[] packet = new byte[header.length + body.length];
            System.arraycopy(header, 0, packet, 0, header.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top