Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2701 - 2710 of 6,702 for If (0.01 seconds)

  1. guava-tests/test/com/google/common/net/HttpHeadersTest.java

        for (Field field : HttpHeaders.class.getDeclaredFields()) {
          /*
           * Coverage mode generates synthetic fields.  If we ever add private
           * fields, they will cause similar problems, and we may want to switch
           * this check to isAccessible().
           */
          if (!field.isSynthetic() && field.getType() == String.class) {
            builder.add(field);
          }
        }
        return builder.build();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:10:09 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         * @param dir the directory to locate the pom for, never {@code null}
         * @param options possible parsing options, may be {@code null}
         * @return an optional parsed {@link Model} or {@code null} if none could be found
         * @throws ModelParserException if the located model cannot be parsed
         */
        @Nonnull
        default Optional<Model> locateAndParse(@Nonnull Path dir, @Nullable Map<String, ?> options)
                throws ModelParserException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Sep 10 17:18:47 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            String result;
            ModelSource src = sourcePathProvider.get();
            if (src == null) {
                Files.deleteIfExists(target);
                result = null;
            } else if (!Files.exists(src.getPath())) {
                Files.deleteIfExists(target);
                result = "";
            } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessEventType.java

         *
         * @param value the numeric value
         * @return the corresponding WitnessEventType
         * @throws IllegalArgumentException if value is not recognized
         */
        public static WitnessEventType fromValue(int value) {
            for (WitnessEventType type : values()) {
                if (type.value == value) {
                    return type;
                }
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

            }
            if (i < sb.length()) {
                final char originalChar1 = sb.charAt(i);
                final char convertedChar = hankakuKatakanaToZenkakuKatakana(originalChar1);
                if (convertedChar != originalChar1) {
                    sb.setCharAt(i, convertedChar);
                }
            }
            return sb.toString();
        }
    
        private static char hankakuKatakanaToZenkakuKatakana(final char c) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 6.8K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/app/service/BadWordService.java

        }
    
        private static String getValue(final List<String> list, final int index) {
            if (index >= list.size()) {
                return StringUtil.EMPTY;
            }
            String item = list.get(index).trim();
            if (StringUtil.isBlank(item)) {
                return StringUtil.EMPTY;
            }
            if (item.length() > 1 && item.charAt(0) == '"' && item.charAt(item.length() - 1) == '"') {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        if (concurrencyLevel != null) {
          builder.concurrencyLevel(concurrencyLevel);
        }
        if (initialCapacity != null) {
          builder.initialCapacity(initialCapacity);
        }
        if (maximumSize != null) {
          builder.maximumSize(maximumSize);
        }
        if (expireAfterWrite != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

         *
         * If replace is false, then any existing repository with the same ID will remain in use. If replace
         * is true, the new repository replaces the original.
         *
         * @param repository the repository to add to the internal search chain, must not be {@code null}
         * @throws InvalidRepositoryException if the repository could not be added (e.g. due to invalid URL or layout)
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

         * @return the KerberosKey with the specified type, or null if not found
         */
        public KerberosKey getKey(int keyType) {
            KerberosKey serverKey = null;
    
            Set<Object> serverPrivateCredentials = this.subject.getPrivateCredentials();
            for (Object credential : serverPrivateCredentials) {
                if (credential instanceof KerberosKey) {
                    if (((KerberosKey) credential).getKeyType() == keyType) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/arch/ppc64.go

    	switch name {
    	case "CR":
    		if 0 <= n && n <= 7 {
    			return ppc64.REG_CR0 + n, true
    		}
    	case "A":
    		if 0 <= n && n <= 8 {
    			return ppc64.REG_A0 + n, true
    		}
    	case "VS":
    		if 0 <= n && n <= 63 {
    			return ppc64.REG_VS0 + n, true
    		}
    	case "V":
    		if 0 <= n && n <= 31 {
    			return ppc64.REG_V0 + n, true
    		}
    	case "F":
    		if 0 <= n && n <= 31 {
    			return ppc64.REG_F0 + n, true
    		}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 21 18:27:17 GMT 2024
    - 2.3K bytes
    - Click Count (0)
Back to Top