Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for grep (0.16 sec)

  1. guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
          List<Object> builder = Lists.newArrayList();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += ImmutableList.copyOf(builder).size();
        }
        return dummy;
      }
    
      @Benchmark
      int copyPreSizedArrayList(int reps) {
        int size = this.size;
        int tmp = 0;
        for (int rep = 0; rep < reps; rep++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            }
        }
    
    
        /**
         * Replace all occurances of the given type
         * 
         * @param pairs
         * @param rep
         */
        public static void replace ( List<AvPair> pairs, AvPair rep ) {
            remove(pairs, rep.getType());
            pairs.add(rep);
        }
    
    
        /**
         * 
         * @param pairs
         * @return encoded avpairs
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SambaHelper.java

        public static final int SID_TYPE_DOM_GRP = 2;
    
        public static final int SID_TYPE_DOMAIN = 3;
    
        public static final int SID_TYPE_INVALID = 7;
    
        public static final int SID_TYPE_UNKNOWN = 8;
    
        public static final int SID_TYPE_USE_NONE = 0;
    
        public static final int SID_TYPE_USER = 1;
    
        public static final int SID_TYPE_WKN_GRP = 5;
    
        protected FessConfig fessConfig;
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/SidTest.java

            assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
            assertEquals(getRequiredProperty(TestProperties.TEST_GROUP_NAME), s.getAccountName());
            assertEquals(jcifs.SID.SID_TYPE_DOM_GRP, s.getType());
        }
    
    
        @Test
        public void resolveWellKnownUsers () throws IOException {
            SID domsid = new SID(getRequiredProperty(TestProperties.TEST_DOMAIN_SID));
            int rids[] = new int[] {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SID.java

            if ( this.domainName != null ) {
                String str;
    
                if ( this.type == SID_TYPE_DOMAIN ) {
                    str = this.domainName;
                }
                else if ( this.type == SID_TYPE_WKN_GRP || this.domainName.equals("BUILTIN") ) {
                    if ( this.type == SID_TYPE_UNKNOWN ) {
                        str = toString();
                    }
                    else {
                        str = this.acctName;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimap.java

     *
     * <pre>{@code
     * Zachary: [Taylor]
     * John: [Adams, Adams, Tyler, Kennedy]  // Remember, Quincy!
     * George: [Washington, Bush, Bush]
     * Grover: [Cleveland, Cleveland]        // Two, non-consecutive terms, rep'ing NJ!
     * ...
     * }</pre>
     *
     * <h3>Views</h3>
     *
     * <p>Much of the power of the multimap API comes from the <i>view collections</i> it provides.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

      }
    
      @Benchmark
      void concurrentHashMap(int rep) {
        for (int i = 0; i < rep; i++) {
          map.get(TEST_KEY);
        }
      }
    
      @Benchmark
      void cacheBuilder_stats(int rep) {
        for (int i = 0; i < rep; i++) {
          cache.getIfPresent(TEST_KEY);
        }
      }
    
      @Benchmark
      void cacheBuilder(int rep) {
        for (int i = 0; i < rep; i++) {
          cacheNoStats.getIfPresent(TEST_KEY);
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
Back to top