Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 4096 (0.14 sec)

  1. cmd/server-rlimit.go

    	if _, maxLimit, err = sys.GetMaxOpenFileLimit(); err != nil {
    		return err
    	}
    
    	if maxLimit < 4096 && runtime.GOOS != globalWindowsOSName {
    		logger.Info("WARNING: maximum file descriptor limit %d is too low for production servers. At least 4096 is recommended. Fix with \"ulimit -n 4096\"",
    			maxLimit)
    	}
    
    	if err = sys.SetMaxOpenFileLimit(maxLimit, maxLimit); err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/riscv64.s

    	ADDI	$-2049, X5				// 938202c09382f2bf
    	ADDI	$4094, X5				// 9382f27f9382f27f
    	ADDI	$-4096, X5				// 9382028093820280
    	ADDI	$4095, X5				// b71f00009b8fffffb382f201
    	ADDI	$-4097, X5				// b7ffffff9b8fffffb382f201
    	ADDI	$2047, X5, X6				// 1383f27f
    	ADDI	$-2048, X5, X6				// 13830280
    	ADDI	$2048, X5, X6				// 1383024013030340
    	ADDI	$-2049, X5, X6				// 138302c01303f3bf
    	ADDI	$4094, X5, X6				// 1383f27f1303f37f
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 22 04:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (1)
  3. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
          String.format("%s\t%s%n%s%n", time.format(d), message, sw.toString())
        } else {
          String.format("%s\t%s%n", time.format(d), message)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                request: UrlRequest,
                info: UrlResponseInfo,
              ) {
                println("onResponseStarted ${info.headers.asMap} ${info.negotiatedProtocol}")
                request.read(ByteBuffer.allocateDirect(4096 * 8))
              }
    
              override fun onReadCompleted(
                request: UrlRequest,
                info: UrlResponseInfo,
                byteBuffer: ByteBuffer,
              ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/InputStreamUtil.java

    /**
     * {@link InputStream}用のユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class InputStreamUtil {
    
        /** デフォルトのバッファサイズ */
        private static final int BUF_SIZE = 4096;
    
        /**
         * {@link FileInputStream}を作成します。
         *
         * @param file
         *            ファイル。{@literal null}であってはいけません
         * @return ファイルから入力する{@link FileInputStream}
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/ReaderUtil.java

    /**
     * {@link Reader}用のユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class ReaderUtil {
    
        /** デフォルトのバッファサイズ */
        private static final int BUF_SIZE = 4096;
    
        /**
         * 指定のエンコーディングでファイルから入力する{@link Reader}を作成します。
         *
         * @param is
         *            入力ストリーム。{@literal null}であってはいけません
         * @param encoding
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/FileUtil.java

     * @author higa
     */
    public abstract class FileUtil {
    
        /** UTF-8のエンコーディング名 */
        private static final String UTF8 = "UTF-8";
    
        /** Default Buffer Size */
        protected static final int DEFAULT_BUF_SIZE = 4096; // 4k
    
        /** Max Buffer Size */
        protected static final int MAX_BUF_SIZE = 10 * 1024 * 1024; // 10m
    
        /**
         * この抽象パス名の正規の形式を返します。
         *
         * @param file
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil.go

    	}
    	return fi1.Size() == fi2.Size()
    }
    
    // DirectioAlignSize - DirectIO alignment needs to be 4K. Defined here as
    // directio.AlignSize is defined as 0 in MacOS causing divide by 0 error.
    const DirectioAlignSize = 4096
    
    // CopyAligned - copies from reader to writer using the aligned input
    // buffer, it is expected that input buffer is page aligned to
    // 4K page boundaries. Without passing aligned buffer may cause
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. cmd/handler-api.go

    		// but still, no need to interpret more
    		return 0
    	}
    	if limit == cgroupMemNoLimit {
    		// No limit set, It's the highest positive signed 64-bit
    		// integer (2^63-1), rounded down to multiples of 4096 (2^12),
    		// the most common page size on x86 systems - for cgroup_limits.
    		return 0
    	}
    	return limit
    }
    
    func availableMemory() (available uint64) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  10. internal/rest/client.go

    		url:                      u,
    		newAuthToken:             newAuthToken,
    		connected:                connected,
    		lastConn:                 time.Now().UnixNano(),
    		MaxErrResponseSize:       4096,
    		HealthCheckReconnectUnit: 200 * time.Millisecond,
    		HealthCheckTimeout:       time.Second,
    	}
    	if err != nil {
    		clnt.lastErr = err
    		clnt.lastErrTime = time.Now()
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
Back to top