Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 3,016 for value2 (0.11 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

     * demonstration – the real class behaviour is not required for
     * validating constants.
     */
    public class SmbConstantsTest {
    
        /**
         * Verify that the hard‑coded default values are present.
         */
        @Test
        @DisplayName("Default constant values match expectations")
        void defaultValues() {
            assertEquals(445, SmbConstants.DEFAULT_PORT);
            assertEquals(10, SmbConstants.DEFAULT_MAX_MPX_COUNT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          Collection<Object> values = cache.asMap().values();
          assertFalse(values.remove(null));
          assertFalse(values.remove(6));
          assertFalse(values.remove(-6));
          assertFalse(values.removeAll(asList(null, 0, 15, 1500)));
          assertFalse(values.retainAll(asList(null, 0, 15, 1500)));
          checkEmpty(values);
          checkEmpty(cache);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableRangeMap.java

        }
      }
    
      private final transient ImmutableList<Range<K>> ranges;
      private final transient ImmutableList<V> values;
    
      ImmutableRangeMap(ImmutableList<Range<K>> ranges, ImmutableList<V> values) {
        this.ranges = ranges;
        this.values = values;
      }
    
      @Override
      public @Nullable V get(K key) {
        int index =
            SortedLists.binarySearch(
                ranges,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle all zero values correctly")
            void testReadBytesWireFormatWithZeroValues() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0); // Structure size
                // All other values remain zero
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

     * Tests all enum functionality including values, valueOf, ordinal, and serialization.
     */
    public class CrawlerStatusTest extends PlainTestCase {
    
        /**
         * Test that all expected enum values exist
         */
        public void test_enumValues() {
            CrawlerStatus[] values = CrawlerStatus.values();
    
            assertNotNull(values);
            assertEquals(3, values.length);
    
            // Verify all expected values exist
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                        if (contentMap.containsKey("value")) {
                            final String[] values = DocumentUtil.getValue(contentMap, "value", String[].class);
                            if (values != null) {
                                for (final String value : values) {
                                    processGroup(user, groupList, roleList, value);
                                    if (!groupList.contains(value) && !roleList.contains(value)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/FileEntryTest.java

        @MethodSource("longGetterProvider")
        void longGetters_edgeCases(LongGetter getter, long value, String label) {
            // Arrange
            FileEntry e = new TestFileEntry("n", 0, 0, value, value, value, value, 0);
            // Act
            long actual = getter.apply(e);
            // Assert
            assertEquals(value, actual, label);
        }
    
        @Test
        @DisplayName("Calling a method on null reference throws NPE")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         * Creates a new XmlNode instance with the specified name and value.
         *
         * @param name the name for the new node
         * @param value the value for the new node
         * @return a new XmlNode instance
         * @throws NullPointerException if name is null
         */
        static XmlNode newInstance(String name, String value) {
            return newBuilder().name(name).value(value).build();
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/archive/tar/format.go

    // If the checksum fails, then FormatUnknown is returned.
    func (b *block) getFormat() Format {
    	// Verify checksum.
    	var p parser
    	value := p.parseOctal(b.toV7().chksum())
    	chksum1, chksum2 := b.computeChecksum()
    	if p.err != nil || (value != chksum1 && value != chksum2) {
    		return FormatUnknown
    	}
    
    	// Guess the magic values.
    	magic := string(b.toUSTAR().magic())
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/HexdumpTest.java

        }
    
        @Test
        @DisplayName("Should handle special byte values correctly")
        void testSpecialByteValues() {
            // Test boundary values
            byte[] data = { (byte) 0x00, // min value
                    (byte) 0xFF, // max value (-1 as signed byte)
                    (byte) 0x7F, // max positive
                    (byte) 0x80 // min negative
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top