Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3351 - 3360 of 3,591 for Name (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            when(mockRequest.getLength()).thenReturn(100);
    
            // Sign the data
            signDigest.sign(data, 0, data.length, mockRequest, null);
    
            // Create a new digest for verification with same key
            SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey);
    
            // Verify should return false when signature is correct (no error)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(999, response.getCount());
                assertEquals(111, response.getRemaining());
            }
    
            @Test
            @DisplayName("Should create new instance with same config")
            void testMultipleInstancesWithSameConfig() throws SMBProtocolDecodingException {
                Smb2WriteResponse response1 = new Smb2WriteResponse(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            buffer.putShort(0, (short) content.length); // Length
            buffer.putShort(2, (short) content.length); // MaxLength (not used by readSecurityBuffer, but typically same as length)
            buffer.putInt(4, 8); // Offset
    
            System.arraycopy(content, 0, data, 8, content.length); // Place content at offset 8
    
            byte[] result = NtlmMessage.readSecurityBuffer(data, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/LongMathTest.java

          long unused = simpleBinomial(LongMath.biggestSimpleBinomials[k], k); // mustn't throw
          if (LongMath.biggestSimpleBinomials[k] < Integer.MAX_VALUE) {
            // unless all n are fair game with this k
            assertThrows(
                ArithmeticException.class,
                () -> simpleBinomial(LongMath.biggestSimpleBinomials[k] + 1, k));
          }
        }
        int k = LongMath.biggestSimpleBinomials.length;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .inOrder();
      }
    
      public void testCopyOf_array_empty() {
        /*
         * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's
         * useful in testing - when two things are the same then one can't have bugs the other doesn't.
         */
        assertThat(ImmutableDoubleArray.copyOf(new double[0]))
            .isSameInstanceAs(ImmutableDoubleArray.of());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

      }
    
      /**
       * Constructs a {@code LinkedHashMultimap} with the same mappings as the specified multimap. If a
       * key-value mapping appears multiple times in the input multimap, it only appears once in the
       * constructed multimap. The new multimap has the same {@link Multimap#entries()} iteration order
       * as the input multimap, except for excluding duplicate mappings.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. src/bufio/scan_test.go

    			t.Errorf("#%d: termination expected at %d; got %d", n, len(test), i)
    		}
    		err := s.Err()
    		if err != nil {
    			t.Errorf("#%d: %v", n, err)
    		}
    	}
    }
    
    // Test that the rune splitter returns same sequence of runes (not bytes) as for range string.
    func TestScanRune(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    		s.Split(ScanRunes)
    		var i, runeCount int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/StringsTest.java

                assertEquals(TEST_STRING.getBytes(StandardCharsets.UTF_16LE).length, result.length, "Length should match UTF-16LE encoding");
                assertArrayEquals(TEST_STRING.getBytes(StandardCharsets.UTF_16LE), result, "Should produce same bytes as UTF-16LE encoding");
            }
    
            @Test
            @DisplayName("getUNIBytes should handle Unicode characters correctly")
            void testGetUNIBytesWithUnicode() {
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertNotNull(suggestItem);
            assertEquals(Float.MAX_VALUE, suggestItem.getUserBoost(), 0.001f);
        }
    
        @Test
        public void testGettersWithMutableLists() {
            // Test that getters return the same list references
            String word = "mutable test";
            float boost = 1.0f;
            List<String> readings = new ArrayList<>();
            readings.add("reading1");
            List<String> fields = new ArrayList<>();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            assertTrue(item1.isPresent());
    
            // Modify the same item with different values
            CharMappingItem updateItem1 = item1.get();
            updateItem1.setNewInputs(new String[] { "m", "n" });
            updateItem1.setNewOutput("o");
    
            // Create another update for the same item
            CharMappingItem updateItem2 = new CharMappingItem(1L, new String[] { "x", "y" }, "z");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top