Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 2,800 for int3 (0.04 sec)

  1. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
        final int len = string.length();
        final int size = len * count;
        char[] array = new char[size];
        for (int i = 0; i < size; i += len) {
          string.getChars(0, len, array, i);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

        input = ImmutableList.copyOf(list);
      }
    
      @Benchmark
      int collections(int reps) {
        int dummy = 0;
        // Yes, this could be done more elegantly
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            List<Integer> copy = new ArrayList<>(input);
            sort(copy);
            dummy += copy.get(0);
          }
        } else {
          for (int i = 0; i < reps; i++) {
            List<Integer> copy = new ArrayList<>(input);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/pager/SynonymPager.java

        private static final long serialVersionUID = 1L;
    
        private int allRecordCount;
    
        private int allPageCount;
    
        private boolean existPrePage;
    
        private boolean existNextPage;
    
        private List<Integer> pageNumberList;
    
        private int pageSize;
    
        private int currentPageNumber;
    
        public String id;
    
        public void clear() {
            allRecordCount = 0;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Base64Util.java

            if (ArrayUtil.isEmpty(inData)) {
                return "";
            }
            final int mod = inData.length % 3;
            final int num = inData.length / 3;
            char[] outData = null;
            if (mod != 0) {
                outData = new char[(num + 1) * 4];
            } else {
                outData = new char[num * 4];
            }
            for (int i = 0; i < num; i++) {
                encode(inData, i * 3, outData, i * 4);
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

       */
      static <E> ImmutableSortedSet<E> construct(
          Comparator<? super E> comparator, int n, E... contents) {
        if (n == 0) {
          return emptySet(comparator);
        }
        checkElementsNotNull(contents, n);
        sort(contents, 0, n, comparator);
        int uniques = 1;
        for (int i = 1; i < n; i++) {
          E cur = contents[i];
          E prev = contents[uniques - 1];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Files.java

       * @since 14.0
       */
      public static CharSink asCharSink(File file, Charset charset, FileWriteMode... modes) {
        return asByteSink(file, modes).asCharSink(charset);
      }
    
      /**
       * Reads all bytes from a file into a byte array.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link java.nio.file.Files#readAllBytes}.
       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    		}
    	}
    }
    
    const (
    	diskHealthOK int32 = iota
    	diskHealthFaulty
    )
    
    type diskHealthTracker struct {
    	// atomic time of last success
    	lastSuccess int64
    
    	// atomic time of last time a token was grabbed.
    	lastStarted int64
    
    	// Atomic status of disk.
    	status atomic.Int32
    
    	// Atomic number indicates if a disk is hung
    	waiting atomic.Int32
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      }
    
      @Benchmark
      public int countIn(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += matcher.countIn(teststring);
        }
        return result;
      }
    
      @Benchmark
      public int collapseFrom(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      }
    
      @Benchmark
      public int countIn(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += matcher.countIn(teststring);
        }
        return result;
      }
    
      @Benchmark
      public int collapseFrom(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
Back to top