Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1221 - 1230 of 7,017 for string (0.35 seconds)

  1. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

        SmbFile mockDir;
    
        /**
         * Happy-path: a filter that accepts any name.
         */
        @ParameterizedTest
        @DisplayName("accepts any non-null/any string")
        @ValueSource(strings = { "file.txt", "data.DAT", "a", "x.y.z", "  spaced  " })
        void acceptsAnyNameReturnsTrue(String input) throws Exception {
            SmbFilenameFilter filter = (dir, name) -> true;
    
            boolean result = filter.accept(mockDir, input);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  2. api/go1.21.txt

    pkg debug/elf, method (DynFlag1) GoString() string #56887
    pkg debug/elf, method (DynFlag1) String() string #56887
    pkg debug/elf, method (*File) DynValue(DynTag) ([]uint64, error) #56892
    pkg debug/elf, type DynFlag1 uint32 #56887
    pkg encoding/binary, var NativeEndian nativeEndian #57237
    pkg errors, var ErrUnsupported error #41198
    pkg flag, func BoolFunc(string, string, func(string) error) #53747
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java

                } else {
                    return BYTE;
                }
            }
        }
    
        public String format(long size) {
            return format(size, null);
        }
    
        public String format(long size, ScaleUnit unit) {
            return format(size, unit, false);
        }
    
        public String format(long size, ScaleUnit unit, boolean omitSymbol) {
            StringBuilder sb = new StringBuilder();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. cmd/batch-job-common-types.go

    type BatchJobYamlErr struct {
    	line, col int
    	msg       string
    }
    
    // message returns the error message excluding line, col information.
    // Intended to be used in unit tests.
    func (b BatchJobYamlErr) message() string {
    	return b.msg
    }
    
    // Error implements Error interface
    func (b BatchJobYamlErr) Error() string {
    	return fmt.Sprintf("%s\n Hint: error near line: %d, col: %d", b.msg, b.line, b.col)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

                    String bwcBranch = this.gitExtension.getBwcBranch().get();
                    final String refspec = providerFactory.systemProperty("bwc.refspec." + bwcBranch)
                        .orElse(providerFactory.systemProperty("tests.bwc.refspec." + bwcBranch))
                        .getOrElse(remote.get() + "/" + bwcBranch);
    
                    String effectiveRefSpec = maybeAlignedRefSpec(logger, refspec);
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestStringCollectionGenerator.java

        return new Strings();
      }
    
      @Override
      public Collection<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Collection<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsBoostDocumentRule.java

        /** boostExpr */
        protected String boostExpr;
    
        /** createdBy */
        protected String createdBy;
    
        /** createdTime */
        protected Long createdTime;
    
        /** sortOrder */
        protected Integer sortOrder;
    
        /** updatedBy */
        protected String updatedBy;
    
        /** updatedTime */
        protected Long updatedTime;
    
        /** urlExpr */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                    [
                        currentVersion: '11.38',
                        (BinaryCompatibilityRepositorySetupRule.REPOSITORY_CONTEXT_KEY): repository
                    ]
                }
    
                @Override
                <T> T getUserData(String key) {
                    getUserData()[key]
                }
    
                @Override
                <T> void putUserData(String key, T value) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  9. internal/rest/client.go

    func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
    
    // removeEmptyPort strips the empty port in ":port" to ""
    // as mandated by RFC 3986 Section 6.2.3.
    func removeEmptyPort(host string) string {
    	if hasPort(host) {
    		return strings.TrimSuffix(host, ":")
    	}
    	return host
    }
    
    // Copied from http.NewRequest but implemented to ensure we reuse `url.URL` instance.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

      private static final Function<@Nullable String, @Nullable Character> FIRST_CHARACTER =
          new Function<@Nullable String, @Nullable Character>() {
            @Override
            public @Nullable Character apply(@Nullable String input) {
              return input == null ? null : input.charAt(0);
            }
          };
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top