Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 3,853 for Uint (0.03 sec)

  1. cmd/ilm-config.go

    		TransitionWorkers: 100,
    	},
    }
    
    type ilmConfig struct {
    	mu  sync.RWMutex
    	cfg ilm.Config
    }
    
    func (c *ilmConfig) getExpirationWorkers() int {
    	c.mu.RLock()
    	defer c.mu.RUnlock()
    
    	return c.cfg.ExpirationWorkers
    }
    
    func (c *ilmConfig) getTransitionWorkers() int {
    	c.mu.RLock()
    	defer c.mu.RUnlock()
    
    	return c.cfg.TransitionWorkers
    }
    
    func (c *ilmConfig) update(cfg ilm.Config) {
    	c.mu.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 05 02:50:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       */
      public static int consistentHash(long input, int buckets) {
        checkArgument(buckets > 0, "buckets must be positive: %s", buckets);
        LinearCongruentialGenerator generator = new LinearCongruentialGenerator(input);
        int candidate = 0;
        int next;
    
        // Jump from bucket to bucket until we go out of range
        while (true) {
          next = (int) ((candidate + 1) / generator.nextDouble());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/CopyUtil.java

         * @param out
         *            出力ストリーム
         * @return コピーしたバイト数
         */
        protected static int copyInternal(final InputStream in, final OutputStream out) {
            try {
                final byte[] buf = new byte[DEFAULT_BUF_SIZE];
                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    out.write(buf, 0, len);
                    amount += len;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<UserCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<User> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<User> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                return content;
            }
    
            final int maxAlphanumTermSize = getMaxAlphanumTermSize();
            final int maxSymbolTermSize = getMaxSymbolTermSize();
            final boolean duplicateTermRemoved = isDuplicateTermRemoved();
            final int[] spaceChars = getSpaceChars();
            try (final Reader reader = new StringReader(content)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

    /** A scripted response to be replayed by the mock web server. */
    @ExperimentalOkHttpApi
    class MockResponse {
      /** Returns the HTTP response line, such as "HTTP/1.1 200 OK". */
      val status: String
    
      val code: Int
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[1].toInt()
        }
    
      val message: String
        get() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/SignedBytes.java

      }
    
      private enum LexicographicalComparator implements Comparator<byte[]> {
        INSTANCE;
    
        @Override
        public int compare(byte[] left, byte[] right) {
          int minLength = Math.min(left.length, right.length);
          for (int i = 0; i < minLength; i++) {
            int result = Byte.compare(left[i], right[i]);
            if (result != 0) {
              return result;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ModifierUtil.java

         */
        public static boolean isPublicStaticFinal(final int modifier) {
            return isPublic(modifier) && isStatic(modifier) && isFinal(modifier);
        }
    
        /**
         * <code>public</code>かどうか返します。
         *
         * @param modifier
         *            モディファイヤ
         * @return <code>public</code>かどうか
         */
        public static boolean isPublic(final int modifier) {
            return Modifier.isPublic(modifier);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/NamingTest.java

            }
            runFilenameTest(splitString(str, 8));
        }
    
    
        private static String makeCharsetString ( Charset cs, int min, int max, int... excludes ) {
            ByteBuffer buf = ByteBuffer.allocate(128);
            Arrays.sort(excludes);
            for ( int i = 128; i < 255; i++ ) {
                int idx = Arrays.binarySearch(excludes, i);
                if ( idx < 0 || excludes[ idx ] == i ) {
                    continue;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

     * @author shinsuke
     *
     */
    public class CrawlerWebServer {
        private int port = 8080;
    
        private File docRoot;
    
        private Server server;
    
        private boolean tempDocRoot = false;
    
        public CrawlerWebServer(final int port) {
            this(port, createDocRoot(3));
            tempDocRoot = true;
        }
    
        public CrawlerWebServer(final int port, final File docRoot) {
            this.port = port;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top