Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 83 for getWant (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/smb1/Config.java

                if (in != null)
                    in.close();
            } catch( IOException ioe ) {
                if( log.level > 0 )
                    ioe.printStackTrace( log );
            }
    
            if(( level = Config.getInt( "jcifs.smb1.util.loglevel", -1 )) != -1 ) {
                LogStream.setLevel( level );
            }
    
            try {
                "".getBytes(DEFAULT_OEM_ENCODING);
            } catch (UnsupportedEncodingException uee) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

    class SmbComWriteAndX extends AndXServerMessageBlock {
    
        private static final int READ_ANDX_BATCH_LIMIT =
                                Config.getInt( "jcifs.smb1.smb.client.WriteAndX.ReadAndX", 1 );
        private static final int CLOSE_BATCH_LIMIT =
                                Config.getInt( "jcifs.smb1.smb.client.WriteAndX.Close", 1 );
    
        private int fid,
            remaining,
            dataLength,
            dataOffset,
            off;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                final Response response = checkMethodBase(requestBody).post("/api/admin/scheduler/" + schedulerId + "/start");
                if (response.getBody().jsonPath().getInt("response.status") == 0) {
                    logger.info("Start scheduler \"{}\"", schedulerId);
                    return;
                }
                ThreadUtil.sleep(1000L);
            }
            fail("could not start job.");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("foo", Iterators.getLast(iterator, "bar"));
      }
    
      public void testGetLast_withDefault_empty() {
        Iterator<String> iterator = emptyIterator();
        assertEquals("bar", Iterators.getLast(iterator, "bar"));
      }
    
      public void testGetLast_withDefault_empty_null() {
        Iterator<String> iterator = emptyIterator();
        assertNull(Iterators.<@Nullable String>getLast(iterator, null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

            this.salt = salt;
        }
    
    
        /**
         * 
         */
        public PreauthIntegrityNegotiateContext () {}
    
    
        /**
         * @return the salt
         */
        public byte[] getSalt () {
            return this.salt;
        }
    
    
        /**
         * @return the hashAlgos
         */
        public int[] getHashAlgos () {
            return this.hashAlgos;
        }
    
    
        /**
         * {@inheritDoc}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  9. src/packaging/common/scripts/postrm

        fi
    fi
    
    if [ "$REMOVE_USER_AND_GROUP" = "true" ]; then
        if id "$FESS_USER" > /dev/null 2>&1 ; then
            userdel "$FESS_USER"
        fi
    
        if getent group "$FESS_GROUP" > /dev/null 2>&1 ; then
            groupdel "$FESS_GROUP"
        fi
    fi
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Config.java

    
        /**
         * Retrieve an <code>int</code>. If the key does not exist or
         * cannot be converted to an <code>int</code>, the provided default
         * argument will be returned.
         */
        public static int getInt ( Properties props, String key, int def ) {
            String s = props.getProperty(key);
            if ( s != null ) {
                try {
                    def = Integer.parseInt(s);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
Back to top