Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1181 - 1190 of 1,922 for LENGTH (0.06 seconds)

  1. cmd/erasure-coding.go

    }
    
    // ShardFileOffset - returns the effective offset where erasure reading begins.
    func (e *Erasure) ShardFileOffset(startOffset, length, totalLength int64) int64 {
    	shardSize := e.ShardSize()
    	shardFileSize := e.ShardFileSize(totalLength)
    	endShard := (startOffset + length) / e.blockSize
    	tillOffset := min(endShard*shardSize+shardSize, shardFileSize)
    	return tillOffset
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            if (form.token != null && form.token.split(" ").length > 1) {
                throwValidationError(messages -> {
                    messages.addErrorsInvalidKuromojiToken("token", form.token);
                }, this::asEditHtml);
            }
            if (form.segmentation != null && form.reading != null && form.segmentation.split(" ").length != form.reading.split(" ").length) {
                throwValidationError(messages -> {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                    blob = storage.get(BlobId.of(bucketName, objectName));
                }
                return blob;
            }
    
            /**
             * Gets the content length of the GCS object.
             *
             * @return The content length in bytes, or -1 if unavailable
             */
            @Override
            public long getContentLengthLong() {
                try {
                    if (!connected) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                    }
                }
                return headObject;
            }
    
            /**
             * Gets the content length of the S3 object.
             *
             * @return The content length in bytes, or -1 if unavailable
             */
            @Override
            public long getContentLengthLong() {
                try {
                    if (!connected) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 07:57:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/io/SerializeUtil.java

            // Check against allowed patterns
            for (String allowedPattern : DEFAULT_ALLOWED_PATTERNS) {
                if (allowedPattern.endsWith("*")) {
                    String prefix = allowedPattern.substring(0, allowedPattern.length() - 1);
                    if (className.startsWith(prefix)) {
                        return ObjectInputFilter.Status.ALLOWED;
                    }
                } else if (className.equals(allowedPattern)) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

        }
    
        @Override
        public String normalize(final String text, final String field, final String... langs) {
            final Normalizer normalizer;
            if (langs == null || langs.length == 0) {
                normalizer = new LangAnalyzerNormalizer(null);
            } else {
                final NormalizerChain chain = new NormalizerChain();
                for (final String lang : langs) {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayIndexedLength(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (int index = 0; index < array.length; index++) {
            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayFor(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. cmd/update-notifier.go

    func colorizeUpdateMessage(updateString string, newerThan string) string {
    	msgLine1Fmt := " You are running an older version of MinIO released %s "
    	msgLine2Fmt := " Update: %s "
    
    	// Calculate length *without* color coding: with ANSI terminal
    	// color characters, the result is incorrect.
    	line1Length := len(fmt.Sprintf(msgLine1Fmt, newerThan))
    	line2Length := len(fmt.Sprintf(msgLine2Fmt, updateString))
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/io/FileUtilTest.java

        public void testReadBytes_EmptyFile() throws Exception {
            final File emptyFile = tempFolder.newFile("empty.txt");
    
            final byte[] result = FileUtil.readBytes(emptyFile);
            assertThat(result.length, is(0));
        }
    
        /**
         * Test readBytes with null file throws exception
         */
        @Test
        public void testReadBytes_NullFile() {
            try {
                FileUtil.readBytes(null);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

            if (contextHandle == null || contextHandle.length == 0) {
                return "WITNESS-" + System.currentTimeMillis() + "-" + shareName.hashCode();
            }
    
            // Use context handle bytes to create a unique ID
            StringBuilder sb = new StringBuilder("WITNESS-");
            for (int i = 0; i < Math.min(contextHandle.length, 8); i++) {
                sb.append(String.format("%02X", contextHandle[i] & 0xFF));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top