Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,983 for Docstring (0.05 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/mapping/LifecyclePhaseTest.java

        @Test
        void testToString() {
            LifecyclePhase phase = new LifecyclePhase();
            assertEquals("", phase.toString());
    
            LifecycleMojo mojo1 = new LifecycleMojo();
            mojo1.setGoal("jar:jar");
            phase.setMojos(Arrays.asList(mojo1));
            assertEquals("jar:jar", phase.toString());
    
            LifecycleMojo mojo2 = new LifecycleMojo();
            mojo2.setGoal("war:war");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

          assertThat(unsignedValue.toString()).isEqualTo(unsignedValue.bigIntegerValue().toString());
        }
      }
    
      @GwtIncompatible // too slow
      public void testToStringRadix() {
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          for (long l : TEST_LONGS) {
            UnsignedLong value = UnsignedLong.fromLongBits(l);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            // Test the toString method
            String pipeName = "\\\\pipe\\testPipe";
            TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName);
    
            String result = pipe.toString();
            assertNotNull(result);
            assertTrue(result.contains("TransWaitNamedPipe"), "toString should contain class name");
            assertTrue(result.contains(pipeName), "toString should contain pipe name");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        /**
         * Verify that {@link #toString()} with no root cause equals the default
         * {@code IOException#toString()}.
         */
        @Test
        @DisplayName("toString without root cause matches IOException#toString")
        void testToStringWithoutRootCause() {
            SmbException ex = new SmbException(0, false);
            assertEquals("jcifs.smb1.smb1.SmbException: NT_STATUS_SUCCESS", ex.toString());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java

        }
    
        @Override
        public void debug(CharSequence content) {
            if (isDebugEnabled()) {
                logger.debug(toString(content));
            }
        }
    
        @Override
        public void debug(CharSequence content, Throwable error) {
            if (isDebugEnabled()) {
                logger.debug(toString(content), error);
            }
        }
    
        @Override
        public void debug(Throwable error) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SecurityBlob.java

         */
        @Override
        public int hashCode() {
            return this.b.hashCode();
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString() {
            StringBuilder ret = new StringBuilder();
            for (final byte element : this.b) {
                final int n = element & 0xff;
                if (n <= 0x0f) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

            path.append(filename);
    
            return path.toString();
        }
    
        @Override
        public String pathOfRemoteRepositoryMetadata(ArtifactMetadata metadata) {
            return pathOfRepositoryMetadata(metadata.getRemoteFilename());
        }
    
        @Override
        public String toString() {
            return getId();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt

        component: Component,
      ) {
        val encoded = encoding.encode(codePoint)
        val httpUrl = component.urlString(encoded).toHttpUrl()
        val javaNetUrl = httpUrl.toUrl()
        if (javaNetUrl.toString() != javaNetUrl.toString()) {
          fail("Encoding $component $codePoint using $encoding")
        }
      }
    
      private fun testFromUrl(
        codePoint: Int,
        encoding: UrlComponentEncodingTester.Encoding,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        }
    
        /**
         * Tests the toString method.
         */
        @Test
        void testToString() {
            String result = response.toString();
            assertNotNull(result, "toString() should not return null.");
        }
    
        // Helper method to access the super.toString() for verification,
        // as we cannot call it directly from the test.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        for (int i = 0; i < ARRAY_SIZE; i++) {
          longs[i] = random();
          divisors[i] = randomDivisor(longs[i]);
          decimalStrings[i] = UnsignedLongs.toString(longs[i]);
          binaryStrings[i] = UnsignedLongs.toString(longs[i], 2);
          hexStrings[i] = UnsignedLongs.toString(longs[i], 16);
          prefixedHexStrings[i] = "0x" + hexStrings[i];
        }
      }
    
      @Benchmark
      long divide(int reps) {
        long tmp = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top