Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1091 - 1100 of 1,922 for LENGTH (0.06 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
        for (int i = 0; i < expected.length; i++) {
          if (expected[i].equals(samples.e0())) {
            expected[i] = samples.e3();
          }
        }
        expectContents(expected);
      }
    
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

          return dummy;
        }
    
        abstract List<StackTraceElement> getStackTrace(Throwable t);
      }
    
      @BeforeExperiment
      public void doBefore() {
        recursionCount = stackDepth - new Throwable().getStackTrace().length - 1;
        if (recursionCount < 0) {
          throw new SkipThisScenarioException();
        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt

        val name = truncateName(subprojects.joinToString(","))
    
        private fun truncateName(str: String) =
            // Can't exceed Linux file name limit 255 char on TeamCity
            if (str.length > 200) {
                str.substring(0, 200) + "..."
            } else {
                str
            }
    
        override fun createFunctionalTestsFor(
            model: CIBuildModel,
            stage: Stage,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

         * @param offset starting offset
         * @return decoded response
         */
        public static SmbDirectNegotiateResponse decode(byte[] data, int offset) {
            if (data.length - offset < 32) {
                throw new IllegalArgumentException("Invalid SMB Direct Negotiate Response length");
            }
    
            SmbDirectNegotiateResponse response = new SmbDirectNegotiateResponse();
    
            int idx = offset;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/ProlongedSoundMarkCharFilterFactory.java

                final Settings settings) {
            super(indexSettings, name);
            final String value = settings.get("replacement");
            if (value == null || value.length() == 0) {
                replacement = '\u30fc';
            } else {
                replacement = value.charAt(0);
            }
        }
    
        @Override
        public Reader create(final Reader tokenStream) {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. cmd/api-headers_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    func TestNewRequestID(t *testing.T) {
    	// Ensure that it returns an alphanumeric result of length 16.
    	id := mustGetRequestID(UTCNow())
    
    	if len(id) != 16 {
    		t.Fail()
    	}
    
    	var e rune
    	for _, char := range id {
    		e = char
    
    		// Ensure that it is alphanumeric, in this case, between 0-9 and A-Z.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        /** Helper for processing robots.txt files */
        @Resource
        protected RobotsTxtHelper robotsTxtHelper;
    
        /** Helper for managing content length limits */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /** Helper for determining MIME types */
        @Resource
        protected MimeTypeHelper mimeTypeHelper;
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 53.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/storage/TagForm.java

     */
    public class TagForm {
    
        /**
         * The file or directory path associated with this tag.
         */
        @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.
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

            return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(),
                    e.lastModified(), e.lastAccess(), e.length());
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/SpecialRandom.java

     *
     * @author Nicholaus Shupe
     */
    @NullUnmarked
    public final class SpecialRandom extends Random {
      public static SpecialRandom valueOf(String s) {
        return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s));
      }
    
      private final boolean hasSeed;
      private final long seed;
    
      public SpecialRandom() {
        this.hasSeed = false;
        this.seed = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top