Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,673 for Docstring (0.07 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            offset += 4;
            SMBUtil.writeInt2(bytesPerSect, buffer, offset);
    
            // Decode
            smbInfoAllocation.decode(buffer, 0, buffer.length);
    
            // Test toString
            String result = smbInfoAllocation.toString();
    
            // Verify string contains expected values
            assertTrue(result.contains("SmbInfoAllocation"));
            assertTrue(result.contains("alloc=" + alloc));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            String expected = "start=0,index=10,length=20";
            assertEquals(expected, ndrBuffer.toString());
    
            NdrBuffer offsetBuffer = new NdrBuffer(buffer, 5);
            offsetBuffer.setIndex(15);
            offsetBuffer.setLength(10);
            expected = "start=5,index=15,length=10";
            assertEquals(expected, offsetBuffer.toString());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

      url: HttpUrl,
      setCookie: String,
    ): Cookie? = Cookie.parse(currentTimeMillis, url, setCookie)
    
    internal fun cookieToString(
      cookie: Cookie,
      forObsoleteRfc2965: Boolean,
    ): String = cookie.toString(forObsoleteRfc2965)
    
    internal fun addHeaderLenient(
      builder: Headers.Builder,
      line: String,
    ): Headers.Builder = builder.addLenient(line)
    
    internal fun addHeaderLenient(
      builder: Headers.Builder,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

          "p" -> path = value
          "q" -> query = value
          "f" -> fragment = value
          else -> throw IllegalArgumentException("unexpected attribute: $value")
        }
      }
    
      override fun toString(): String = format("Parsing: <%s> against <%s>", input!!, base!!)
    
      companion object {
        fun load(source: BufferedSource): List<WebPlatformUrlTestData> {
          val list = mutableListOf<WebPlatformUrlTestData>()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

                )
                text(
                    testJvmVersionParameter,
                    JvmVersion.JAVA_11.major.toString(),
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = false,
                    description = "Java version to run the test with",
                )
                select(
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 19 08:02:04 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            assertEquals(0, result);
        }
    
        @Test
        public void testToString() {
            // Test the string representation of the object
            String result = smbComDelete.toString();
            assertNotNull(result);
    
            // Verify the result contains expected components
            assertTrue(result.startsWith("SmbComDelete["));
            assertTrue(result.contains("searchAttributes=0x"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    
        /**
         * Gets the simple name of this dictionary file.
         * @return the simple name of the file
         */
        public String getSimpleName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

        val connectionSpec =
          ConnectionSpec
            .Builder(ConnectionSpec.MODERN_TLS)
            .allEnabledTlsVersions()
            .allEnabledCipherSuites()
            .build()
        assertThat(connectionSpec.toString()).isEqualTo(
          "ConnectionSpec(cipherSuites=[all enabled], tlsVersions=[all enabled], " +
            "supportsTlsExtensions=true)",
        )
      }
    
      @Test
      fun simpleToString() {
        val connectionSpec =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CloserTest.java

          return Objects.hash(closeable, thrown, suppressed);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this)
              .add("closeable", closeable)
              .add("thrown", thrown)
              .add("suppressed", suppressed)
              .toString();
        }
      }
    
      private static class TestCloseable implements Closeable {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

        protected Long doForward(String value) {
          return Long.decode(value);
        }
    
        @Override
        protected String doBackward(Long value) {
          return value.toString();
        }
    
        @Override
        public String toString() {
          return "Longs.stringConverter()";
        }
    
        private Object readResolve() {
          return INSTANCE;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
Back to top