Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,653 for length (0.13 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      /** Guard for waiting puts */
      private final Monitor.Guard notFull;
    
      // Internal helper methods
    
      /** Circularly increment i. */
      final int inc(int i) {
        return (++i == items.length) ? 0 : i;
      }
    
      /**
       * Inserts element at current put position, advances, and signals. Call only when occupying
       * monitor.
       */
      private void insert(E x) {
        items[putIndex] = x;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        abstract Table<String, Integer, Character> createTable();
    
        @Override
        @SuppressWarnings("unchecked")
        public Cell<String, Integer, Character>[] createArray(int length) {
          return (Cell<String, Integer, Character>[]) new Cell<?, ?, ?>[length];
        }
    
        @Override
        public List<Cell<String, Integer, Character>> order(
            List<Cell<String, Integer, Character>> insertionOrder) {
          return insertionOrder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
        final int length = toIndex - fromIndex;
        if (length == 0) {
          return ImmutableList.of();
        } else {
          return new ImmutableList<Range<C>>() {
            @Override
            public int size() {
              return length;
            }
    
            @Override
            public Range<C> get(int index) {
              checkElementIndex(index, length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

                                    Path basedir = projectDir.toAbsolutePath();
                                    return new ObjectBasedValueSource(basedir)
                                            .getValue(expression.substring("basedir.".length()));
                                }
                                return null;
                            }
                        },
                        getProjectPrefixes(config),
                        true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

            if (includedDocUrlPatterns == null || excludedDocUrlPatterns == null) {
                initDocUrlPattern();
            }
    
            if (includedDocUrlPatterns.length == 0 && excludedDocUrlPatterns.length == 0) {
                return Constants.TRUE;
            }
    
            for (final Pattern pattern : includedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            final List<String> fileNameItems = new ArrayList<>();
            final List<File> fileList = getAccessibleFileList(baseDir);
            final int length = baseDir.getAbsolutePath().length();
            for (final File file : fileList) {
                fileNameItems.add(file.getAbsolutePath().substring(length));
            }
            return fileNameItems;
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

            final List<StringBuilder> bufList = new ArrayList<>();
            bufList.add(new StringBuilder());
            for (int i = 0; i < text.length();) {
                String[] alphabets;
                if (i + 1 < text.length() && convertMap.get(text.substring(i, i + 2)) != null) {
                    alphabets = convertMap.get(text.substring(i, i + 2));
                    i += 2;
                } else {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

         * result[2] = "root5"
         * result[3] = "link2\foo\bar.txt"
         */
        void dfsPathSplit(String path, String[] result)
        {
            int ri = 0, rlast = result.length - 1;
            int i = 0, b = 0, len = path.length();
    
            do {
                if (ri == rlast) {
                    result[rlast] = path.substring(b);
                    return;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

            val huffmanDecode = firstByte and 0x80 == 0x80 // 1NNNNNNN
            val length = readInt(firstByte, PREFIX_7_BITS).toLong()
    
            return if (huffmanDecode) {
              val decodeBuffer = Buffer()
              Huffman.decode(source, length, decodeBuffer)
              decodeBuffer.readByteString()
            } else {
              source.readByteString(length)
            }
          }
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            }
            bufferIndex = Math.max(inputOffset + inputCount, bufferIndex);
    
            if ( this.outputBuffer != null ) {
                if ( outputCount > this.outputBuffer.length ) {
                    throw new SMBProtocolDecodingException("Output length exceeds buffer size");
                }
                System.arraycopy(buffer, outputOffset, this.outputBuffer, 0, outputCount);
            }
            else if ( this.outputData != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
Back to top