Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1121 - 1130 of 1,464 for kInput (0.04 seconds)

  1. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @Test
        @DisplayName("Test string sanitization for logging")
        void testSanitizeForLogging() {
            // Test null input
            assertEquals("null", InputValidator.sanitizeForLogging(null));
    
            // Test normal string without control characters
            assertEquals("test", InputValidator.sanitizeForLogging("test"));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. cmd/os-readdir_test.go

    package cmd
    
    import (
    	"fmt"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"testing"
    )
    
    // Test to check for different input arguments.
    func TestReadDirFail(t *testing.T) {
    	// Check non existent directory.
    	if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound {
    		t.Fatalf("expected = %s, got: %s", errFileNotFound, err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. internal/logger/console.go

    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...any) {
    	fatal(err, msg, data...)
    }
    
    func fatal(err error, msg string, data ...any) {
    	if msg == "" {
    		if len(data) > 0 {
    			msg = fmt.Sprint(data...)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. docs/en/docs/async.md

    Next, it 🤖 takes the first task to finish (let's say, our "slow-file" 📝) and continues whatever it had to do with it.
    
    That "wait for something else" normally refers to <abbr title="Input and Output">I/O</abbr> operations that are relatively "slow" (compared to the speed of the processor and the RAM memory), like waiting for:
    
    * the data from the client to be sent through the network
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/async.md

    接下來,它 🤖 完成第一個工作(例如我們的「慢速檔案」📝)並繼續執行相關的所有操作。
    這個「等待其他事情」通常指的是一些相對較慢的(與處理器和 RAM 記憶體的速度相比)的 <abbr title="Input and Output - 輸入與輸出">I/O</abbr> 操作,比如說:
    
    * 透過網路傳送來自用戶端的資料
    * 從網路接收來自用戶端的資料
    * 從磁碟讀取檔案內容
    * 將內容寫入磁碟
    * 遠端 API 操作
    * 資料庫操作
    * 資料庫查詢
    * 等等
    
    由於大部分的執行時間都消耗在等待 <abbr title="Input and Output - 輸入與輸出">I/O</abbr> 操作上,因此這些操作被稱為 "I/O 密集型" 操作。
    
    之所以稱為「非同步」,是因為電腦/程式不需要與那些耗時的任務「同步」,等待任務完成的精確時間,然後才能取得結果並繼續工作。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  6. docs/zh/docs/async.md

    接下来,它 🤖 完成第一个任务(比如是我们的"慢文件"📝) 并继续与之相关的一切。
    
    这个"等待其他事情"通常指的是一些相对较慢(与处理器和 RAM 存储器的速度相比)的 <abbr title="Input and Output - 输入和输出">I/O</abbr> 操作,比如说:
    
    * 通过网络发送来自客户端的数据
    * 客户端接收来自网络中的数据
    * 磁盘中要由系统读取并提供给程序的文件的内容
    * 程序提供给系统的要写入磁盘的内容
    * 一个 API 的远程调用
    * 一个数据库操作,直到完成
    * 一个数据库查询,直到返回结果
    * 等等.
    
    这个执行的时间大多是在等待 <abbr title="Input and Output - 输入和输出">I/O</abbr> 操作,因此它们被叫做 "I/O 密集型" 操作。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            assertDoesNotThrow(stream::close);
            verify(handle, never()).ensureOpen();
            verifyNoInteractions(tree, fd);
        }
    
        @Nested
        @DisplayName("Constructor input validation")
        class CtorValidation {
            @Test
            @DisplayName("null handle throws NPE")
            void nullHandle() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. cmd/object-api-multipart_test.go

    		{bucketName: bucket, objName: "none-object", uploadID: uploadID, PartID: 1, expectedError: fmt.Errorf("%s", "Invalid upload id "+uploadID)},
    		// Test case - 12.
    		// Input to replicate Md5 mismatch.
    		{
    			bucketName: bucket, objName: object, uploadID: uploadID, PartID: 1, inputMd5: "d41d8cd98f00b204e9800998ecf8427f",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         * then applies a message digest algorithm to create a unique hash.
         *
         * @param urlId the URL ID string to generate a hash for
         * @return a hashed ID string generated from the input URL ID
         */
        protected String generateId(final String urlId) {
            final StringBuilder encodedBuf = new StringBuilder(urlId.length() + 100);
            for (int i = 0; i < urlId.length(); i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
        }
    
        private
        fun setupRunBinaryCompatibility(v1: File.() -> Unit, v2: File.() -> Unit): File {
            rootDir.withFile("version.txt", "9.0.0")
    
            return rootDir.withUniqueDirectory("input-build").apply {
                withFile(
                    "gradle/libs.versions.toml",
                    """
                        [libraries]
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
Back to Top