Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 110 for getMax (0.16 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            int size = 0;
            for ( AvPair p : pairs ) {
                size += 4 + p.getRaw().length;
            }
            size += 4;
    
            byte[] enc = new byte[size];
            int pos = 0;
            for ( AvPair p : pairs ) {
                byte[] raw = p.getRaw();
                SMBUtil.writeInt2(p.getType(), enc, pos);
                SMBUtil.writeInt2(raw.length, enc, pos + 2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            @SuppressWarnings("unchecked")
            ArrayMap<String, String> copy = (ArrayMap<String, String>) SerializeUtil.serialize(map);
            assertThat(copy.getAt(0), is(nullValue()));
            assertThat(copy.getAt(1), is("test"));
            assertThat(copy.getAt(2), is("test2"));
            assertThat(map.equals(copy), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/av/AvPair.java

        }
    
    
        /**
         * @return the type
         */
        public final int getType () {
            return this.type;
        }
    
    
        /**
         * @return the raw
         */
        public final byte[] getRaw () {
            return this.raw;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      @Footprint
      Object sizeOfPopulatedStriped() {
        locks.clear();
        Striped<Lock> striped = impl.get(numStripes);
        for (int i : stripes) {
          locks.add(striped.getAt(i));
        }
        return striped;
      }
    
      @Benchmark
      long timeConstruct(long reps) {
        long rvalue = 0;
        int numStripesLocal = numStripes;
        Impl implLocal = impl;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      @Footprint
      Object sizeOfPopulatedStriped() {
        locks.clear();
        Striped<Lock> striped = impl.get(numStripes);
        for (int i : stripes) {
          locks.add(striped.getAt(i));
        }
        return striped;
      }
    
      @Benchmark
      long timeConstruct(long reps) {
        long rvalue = 0;
        int numStripesLocal = numStripes;
        Impl implLocal = impl;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(res.containsKey("total_words_num"));
            assertTrue(res.containsKey("document_words_num"));
            assertTrue(res.containsKey("query_words_num"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Striped.java

       *
       * @param index the index of the stripe to return; must be in {@code [0...size())}
       * @return the stripe at the specified index
       */
      public abstract L getAt(int index);
    
      /**
       * Returns the index to which the given key is mapped, so that getAt(indexFor(key)) == get(key).
       */
      abstract int indexFor(Object key);
    
      /** Returns the total number of stripes in this instance. */
      public abstract int size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. cmd/xl-storage-free-version.go

    		if version.header.VersionID != uv || version.header.Type != ObjectType {
    			continue
    		}
    		// if uv has tiered content we add a
    		// free-version to track it for asynchronous
    		// deletion via scanner.
    		ver, err := x.getIdx(i)
    		if err != nil {
    			return err
    		}
    
    		if freeVersion, toFree := ver.ObjectV2.InitFreeVersion(fi); toFree {
    			return x.addVersion(freeVersion)
    		}
    		return nil
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. internal/store/queuestore.go

    	if err != nil {
    		return Key{}, err
    	}
    	key := Key{
    		Name:      uid.String(),
    		Extension: store.fileExt,
    	}
    	return key, store.writeBytes(key, b)
    }
    
    // GetRaw - gets an item from the store.
    func (store *QueueStore[I]) GetRaw(key Key) (raw []byte, err error) {
    	store.RLock()
    
    	defer func(store *QueueStore[I]) {
    		store.RUnlock()
    		if err != nil && !os.IsNotExist(err) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

         * <p>Split the expression into parts, tokenized on the dot ('.') character. Then,
         * starting at the root object contained in this value source, apply each part
         * to the object graph below this root, using either 'getXXX()' or 'isXXX()'
         * accessor types to resolve the value for each successive expression part.
         * Finally, return the result of the last expression part's resolution.</p>
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top