Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,673 for Docstring (0.05 sec)

  1. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        assertThat(unordered.adjacentNode(unordered.nodeU())).isEqualTo(unordered.nodeV());
        assertThat(unordered.adjacentNode(unordered.nodeV())).isEqualTo(unordered.nodeU());
        assertThat(unordered.toString()).contains("chicken");
        assertThat(unordered.toString()).contains("egg");
      }
    
      @Test
      public void testSelfLoop() {
        EndpointPair<String> unordered = EndpointPair.unordered("node", "node");
        assertThat(unordered.isOrdered()).isFalse();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      }
    
      public void testToString() {
        List<String> proxy = newDelegatingList(LIST1);
        assertEquals(Proxy.getInvocationHandler(proxy).toString(), proxy.toString());
      }
    
      interface A {}
    
      interface B {}
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(newDelegatingList(LIST1))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NbtExceptionTest.java

                    // Default error class
                    Arguments.of(999, 0, "unknown error class: 999"));
        }
    
        /**
         * Test the toString method to ensure it returns the expected string format.
         */
        @Test
        @DisplayName("toString should return a correctly formatted string")
        void testToString() {
            int errorClass = NbtException.ERR_SSN_SRVC;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/RequestParamTest.java

        }
    
        // Happy path: valueOf resolves each constant name; toString equals name; ordinal is stable
        @ParameterizedTest
        @ValueSource(strings = { "NONE", "NO_TIMEOUT", "NO_RETRY", "RETAIN_PAYLOAD" })
        @DisplayName("valueOf(name) returns the correct enum and toString matches name")
        void valueOfResolvesNamesAndToString(String name) {
            RequestParam rp = RequestParam.valueOf(name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java

        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("SmbComQueryInformation[" + super.toString() + ",filename=" + this.path + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

         *
         * @param cause the underlying exception
         */
        public SQLRuntimeException(final SQLException cause) {
            super("ECL0072", asArray(getSql(cause), getRealMessage(cause), Integer.toString(cause.getErrorCode()), cause.getSQLState()), cause);
        }
    
        /**
         * Returns the <code>SQL</code>.
         *
         * @param cause the underlying exception
         * @return the <code>SQL</code>
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("NtTransQuerySecurityResponse[" + super.toString() + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

      }
    
      fun assertJobs(vararg expectedUrls: String) {
        val actualUrls = calls.map { it.request.url.toString() }
        assertThat(actualUrls).containsExactly(*expectedUrls)
      }
    
      fun finishJob(url: String) {
        val i = calls.iterator()
        while (i.hasNext()) {
          val call = i.next()
          if (call.request.url.toString() == url) {
            i.remove()
            dispatcherTest.dispatcher.finishedAccessor(call)
            return
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NodeStatusRequest.java

            return 0;
        }
    
        @Override
        int readRDataWireFormat(final byte[] src, final int srcIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("NodeStatusRequest[" + super.toString() + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DfsReferral.java

         *
         * @return the DFS referral data
         */
        public DfsReferralData getData() {
            return this.data;
        }
    
        @Override
        public String toString() {
            return this.data.toString();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top