Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2481 - 2490 of 7,017 for string (0.06 seconds)

  1. android/guava-tests/test/com/google/common/base/VerifyTest.java

      }
    
      private static final Object IGNORE_ME =
          new Object() {
            @Override
            public String toString() {
              throw new AssertionFailedError();
            }
          };
    
      private static final String FORMAT = "I ate %s pies.";
    
      private static void checkMessage(Exception e) {
        assertThat(e).hasMessageThat().isEqualTo("I ate 5 pies.");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Credentials.kt

    /** Factory for HTTP authorization credentials. */
    object Credentials {
      /** Returns an auth credential for the Basic scheme. */
      @JvmStatic @JvmOverloads
      fun basic(
        username: String,
        password: String,
        charset: Charset = ISO_8859_1,
      ): String {
        val usernameAndPassword = "$username:$password"
        val encoded = usernameAndPassword.encode(charset).base64()
        return "Basic $encoded"
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  3. tests/test_infer_param_optionality.py

                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
                                "type": {"title": "Error Type", "type": "string"},
                                "input": {"title": "Input"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            UserInfoHelper userInfoHelper = new UserInfoHelper() {
                @Override
                protected String getUserCodeFromCookie(final jakarta.servlet.http.HttpServletRequest request) {
                    return "testUserCode";
                }
    
                @Override
                protected void updateCookie(final String userCode, final int age) {
                    assertTrue(userCode.isEmpty());
                    assertEquals(0, age);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationTask.java

        }
    
        private <T> void validateNonNull(String element, T value, Runnable validator) {
            if (value == null) {
                logError(element, "is missing");
            } else {
                validator.run();
            }
        }
    
        private void validateString(String element, String value) {
            validateNonNull(element, value, () -> validateNonEmpty(element, value, String::isBlank));
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

        super(true, true, true, true, true);
      }
    
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() {
        return new SimpleForwardingSortedMap<>(
            new TreeMap<String, Integer>(Ordering.<String>natural().nullsFirst()));
      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        SortedMap<String, Integer> sortedMap = makeEmptyMap();
        sortedMap.put("one", 1);
        sortedMap.put("two", 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                final String mimeType = responseData.getMimeType();
                final String extension = getExtensionFromMimeType(mimeType);
                final File tempFile = ComponentUtil.getSystemHelper().createTempFile("thumbnail_", extension);
                try {
                    CopyUtil.copy(responseData.getResponseBody(), tempFile);
    
                    final String tempPath = tempFile.getAbsolutePath();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/StaticJAASConfiguration.java

         *
         * @param options
         */
        public StaticJAASConfiguration(Map<String, ?> options) {
            this.options = options;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see javax.security.auth.login.Configuration#getAppConfigurationEntry(java.lang.String)
         */
        @Override
        public AppConfigurationEntry[] getAppConfigurationEntry(String name) {
            return new AppConfigurationEntry[] {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SID.java

            }
            return dst;
        }
    
        int type;
        String domainName = null;
        String acctName = null;
        String origin_server = null;
        CIFSContext origin_ctx = null;
    
        /**
         * Construct a SID from it's binary representation.
         *
         *
         * @param src the byte array containing the SID
         * @param si the starting index in the array
         */
        public SID(final byte[] src, int si) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/TagForm.java

         */
        @Required
        public String path;
    
        /**
         * The name of the tag with a maximum length of 100 characters.
         */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * A map containing additional tag metadata as key-value pairs.
         */
        public Map<String, String> tags = new HashMap<>();
    
        /**
         * Default constructor for TagForm.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top