Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,673 for Docstring (0.05 sec)

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

            assertEquals(1630000001000L, resp.getLastWriteTime());
            assertEquals(2048, resp.getSize());
            // toString() uses lastWriteTime directly without offset
            assertTrue(resp.toString().contains(new Date(1630000000000L).toString()));
        }
    
        // Buffer helpers to build SMB basic file info wire format.
        // SMB uses little-endian byte order
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Booleans.java

        TRUE_FIRST(1, "Booleans.trueFirst()"),
        FALSE_FIRST(-1, "Booleans.falseFirst()");
    
        private final int trueValue;
        private final String toString;
    
        BooleanComparator(int trueValue, String toString) {
          this.trueValue = trueValue;
          this.toString = toString;
        }
    
        @Override
        public int compare(Boolean a, Boolean b) {
          int aVal = a ? trueValue : 0;
          int bVal = b ? trueValue : 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Booleans.java

        TRUE_FIRST(1, "Booleans.trueFirst()"),
        FALSE_FIRST(-1, "Booleans.falseFirst()");
    
        private final int trueValue;
        private final String toString;
    
        BooleanComparator(int trueValue, String toString) {
          this.trueValue = trueValue;
          this.toString = toString;
        }
    
        @Override
        public int compare(Boolean a, Boolean b) {
          int aVal = a ? trueValue : 0;
          int bVal = b ? trueValue : 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertSame(m1, m1.precomputed());
        assertEquals(m1.toString(), m1.precomputed().toString());
    
        CharMatcher m2 = anyOf("Az");
        assertSame(m2, m2.precomputed());
        assertEquals(m2.toString(), m2.precomputed().toString());
    
        CharMatcher m3 = inRange('A', 'Z');
        assertSame(m3, m3.precomputed());
        assertEquals(m3.toString(), m3.precomputed().toString());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FailureUrlDbm.java

                    "configId");
            setupEpg(_epgMap, et -> ((FailureUrl) et).getErrorCount(), (et, vl) -> ((FailureUrl) et).setErrorCount(DfTypeUtil.toInteger(vl)),
                    "errorCount");
            setupEpg(_epgMap, et -> ((FailureUrl) et).getErrorLog(), (et, vl) -> ((FailureUrl) et).setErrorLog(DfTypeUtil.toString(vl)),
                    "errorLog");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ConverterTest.java

            }
    
            @Override
            protected String doBackward(Long object) {
              return String.valueOf(object);
            }
    
            @Override
            public String toString() {
              return "string2long";
            }
          };
    
      private static final Long LONG_VAL = 12345L;
      private static final String STR_VAL = "12345";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            String expectedHex = String.format("%04X", action);
            assertTrue(result.contains("0x" + expectedHex));
        }
    
        @Test
        @DisplayName("Test toString with empty object")
        void testToStringEmpty() {
            String result = notifyInfo.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("FileNotifyInformation"));
            assertTrue(result.contains("nextEntry=0"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/UniAddressTest.java

                when(mockInetAddress.toString()).thenReturn("/192.168.1.1");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                assertEquals("/192.168.1.1", uniAddress.toString());
            }
    
            @Test
            void shouldReturnWrappedAddressToStringWhenWrappedIsNbtAddress() {
                when(mockNbtAddress.toString()).thenReturn("NBT_HOST/192.168.1.2");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        StringBuilder builder = new StringBuilder(array.length * 5);
        builder.append(toString(array[0]));
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(toString(array[i]));
        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two arrays of unsigned {@code long} values <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

        assertEquals("[foo x 2, bar]", multiset.toString());
      }
    
      public void testCreateWithSize() {
        Multiset<String> multiset = LinkedHashMultiset.create(50);
        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
        assertEquals("[foo x 2, bar]", multiset.toString());
      }
    
      public void testCreateFromIterable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top