Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,983 for Docstring (0.72 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals("[bar, foo x 2]", multiset.toString());
      }
    
      public void testCreateWithComparator() {
        Multiset<String> multiset = TreeMultiset.create(Collections.reverseOrder());
        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
        assertEquals("[foo x 2, bar]", multiset.toString());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("Trans2FindFirst2[" + super.toString() + ",searchAttributes=0x" + Hexdump.toHexString(searchAttributes, 2) + ",searchCount="
                    + LIST_COUNT + ",flags=0x" + Hexdump.toHexString(flags, 2) + ",informationLevel=0x"
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            assertNotEquals(instance1.hashCode(), instance3.hashCode());
        }
    
        /**
         * Test of toString method, of class SmbShareInfo.
         */
        @Test
        void testToString() {
            SmbShareInfo instance = new SmbShareInfo("SHARE", 2, "remark");
            String result = instance.toString();
            assertTrue(result.contains("netName=SHARE"));
            assertTrue(result.contains("type=0x00000002"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * this feature.
       */
      KNOWN_ORDER,
    
      /**
       * Indicates that a collection has a different {@link Object#toString} representation than most
       * collections. If not specified, the collection tests will examine the value returned by {@link
       * Object#toString}.
       */
      NON_STANDARD_TOSTRING,
    
      /**
       * Indicates that the constructor or factory method of a collection, usually an immutable set,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableEnumSet.java

      @Override
      public int hashCode() {
        int result = hashCode;
        return (result == 0) ? hashCode = delegate.hashCode() : result;
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<E>(delegate);
      }
    
      @J2ktIncompatible // serialization
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("TransTransactNamedPipe[" + super.toString() + ",pipeFid=" + pipeFid + "]");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TablesTest.java

        Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a');
        assertEquals("(foo,1)=a", entry.toString());
    
        Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
            immutableCell(null, null, null);
        assertEquals("(null,null)=null", nullEntry.toString());
      }
    
      public void testEntryEquals() {
        Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a');
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

          }
        }
      }
    }
    
    sealed class SocketMode
    
    object Channel : SocketMode() {
      override fun toString(): String = "Channel"
    }
    
    object Standard : SocketMode() {
      override fun toString(): String = "Standard"
    }
    
    data class TlsInstance(
      val provider: Provider,
      val protocol: Protocol,
      val tlsVersion: TlsVersion,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return super.hashCode();
        }
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return super.toString();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
       * This is somewhat of a weak test; we verify that all of the methods are
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 14:47:20 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractTable.java

      }
    
      @Override
      public int hashCode() {
        return cellSet().hashCode();
      }
    
      /** Returns the string representation {@code rowMap().toString()}. */
      @Override
      public String toString() {
        return rowMap().toString();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top