Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3151 - 3160 of 7,017 for string (0.18 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/PostString.java

        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostString().run();
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 1.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

         * @param remark the optional comment or description for the share
         */
        public SmbShareInfo(final String netName, final int type, final String remark) {
            this.netName = netName;
            this.type = type;
            this.remark = remark;
        }
    
        @Override
        public String getName() {
            return this.netName;
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            char[] plaintext = "TestPassword456".toCharArray();
    
            // Encrypt to string
            String encryptedStr = storage.encryptToString(plaintext);
            assertNotNull(encryptedStr, "Encrypted string should not be null");
            assertFalse(encryptedStr.contains("TestPassword456"), "Plaintext should not be visible in encrypted string");
    
            // Should be valid base64
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/DcerpcException.java

         */
        public DcerpcException(final String msg) {
            super(msg);
        }
    
        /**
         * Constructs a DcerpcException with the specified message and root cause
         *
         * @param msg
         *            the error message
         * @param rootCause
         *            the underlying cause of this exception
         */
        public DcerpcException(final String msg, final Throwable rootCause) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        val cookieHeaders =
          try {
            // The RI passes all headers. We don't have 'em, so we don't pass 'em!
            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
            Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e)
            return emptyList()
          }
    
        var cookies: MutableList<Cookie>? = null
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/precommit/LicenseHeadersPrecommitPluginFuncTest.groovy

     * Side Public License, v 1.
     */
    
     package org.acme;
     public class DualLicensed {
     }
     """
        }
    
        private String packageString(File sourceFile) {
            String normalizedPath = normalized(sourceFile.getPath())
            (normalizedPath.substring(normalizedPath.indexOf("src/main/java")) - "src/main/java/" - ("/" + sourceFile.getName())).replaceAll("/", ".")
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 4.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/do_/ReplaceKeyInDo.java

     * A transformation to replace the key in a do. For example, change from "do":{"some-thing":{}} to "do":{"some-other-thing":{}}
     */
    public class ReplaceKeyInDo extends ReplaceByKey {
    
        public ReplaceKeyInDo(String replaceKey, String newKeyName, String testName) {
            super(replaceKey, newKeyName, null, testName);
        }
    
        @Override
        @Internal
        public String getKeyToFind() {
            return "do";
        }
    
        @Override
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

             */
            return getDataCount();
        }
    
        @Override
        public String toString() {
            String c;
            if (this.getSubCommand() == SmbComTransaction.TRANS2_FIND_FIRST2) {
                c = "Trans2FindFirst2Response[";
            } else {
                c = "Trans2FindNext2Response[";
            }
            return (c + super.toString() + ",sid=" + this.sid + ",searchCount=" + getNumEntries() + ",isEndOfSearch=" + this.isEndOfSearch
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/CommonPattern.java

    @GwtCompatible
    abstract class CommonPattern {
      public abstract CommonMatcher matcher(CharSequence t);
    
      public abstract String pattern();
    
      public abstract int flags();
    
      // Re-declare this as abstract to force subclasses to override.
      @Override
      public abstract String toString();
    
      public static CommonPattern compile(String pattern) {
        return Platform.compilePattern(pattern);
      }
    
      public static boolean isPcreLike() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/util/MimeMap.java

         * @return the MIME type for the extension, or the specified default if not found
         * @throws IOException if there is an error processing the MIME mappings
         */
        public String getMimeType(final String extension, final String def) throws IOException {
            int state, t, x, i, off;
            byte ch;
            final byte[] type = new byte[128];
            final byte[] buf = new byte[16];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top