Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 385 for got4 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/api-errors_test.go

    func TestAPIErrCode(t *testing.T) {
    	ctx := t.Context()
    	for i, testCase := range toAPIErrorTests {
    		errCode := toAPIErrorCode(ctx, testCase.err)
    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code %d, got %d", i+1, testCase.errCode, errCode)
    		}
    	}
    }
    
    // Check if an API error is properly defined
    func TestAPIErrCodeDefinition(t *testing.T) {
    	for errAPI := ErrNone + 1; errAPI < apiErrCodeEnd; errAPI++ {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. src/cmd/addr2line/addr2line_test.go

    func testAddr2Line(t *testing.T, dbgExePath, addr string) {
    	funcName, srcPath, srcLineNo := runAddr2Line(t, dbgExePath, addr)
    	if symName != funcName {
    		t.Fatalf("expected function name %v; got %v", symName, funcName)
    	}
    	fi1, err := os.Stat("addr2line_test.go")
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    
    	// Debug paths are stored slash-separated, so convert to system-native.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Sep 06 13:23:48 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  3. src/main/assemblies/files/fess.in.bat

    @echo off
    
    if DEFINED JAVA_HOME goto cont
    
    :err
    ECHO JAVA_HOME environment variable must be set! 1>&2
    EXIT /B 1 
    
    :cont
    set SCRIPT_DIR=%~dp0
    for %%I in ("%SCRIPT_DIR%..") do set FESS_HOME=%%~dpfI
    
    
    REM ***** JAVA options *****
    
    if "%FESS_MIN_MEM%" == "" (
    set FESS_MIN_MEM=256m
    )
    
    if "%FESS_MAX_MEM%" == "" (
    set FESS_MAX_MEM=1g
    )
    
    if NOT "%FESS_HEAP_SIZE%" == "" (
    set FESS_MIN_MEM=%FESS_HEAP_SIZE%
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 03:48:59 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. cmd/iam-object-store_test.go

    	}
    	for i, test := range cases {
    		listKey, item := splitPath(test.path, test.secondIndex)
    		if listKey != test.expectedListKey || item != test.expectedItem {
    			t.Errorf("unexpected result on test[%v]: expected[%s, %s] but got [%s, %s]", i, test.expectedListKey, test.expectedItem, listKey, item)
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 10 23:40:37 GMT 2024
    - 2K bytes
    - Click Count (0)
  5. cmd/site-replication_test.go

    			[]string{},
    		},
    	}
    
    	for i, tc := range testCases {
    		names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites)
    		if len(names) != len(tc.expNames) {
    			t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names)
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  6. cmd/xl-storage_windows_test.go

    	// In *nix, this returns syscall.ENOTDIR while in windows we receive the following error.
    	err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello"))
    	if err != errFileAccessDenied {
    		t.Errorf("expected: %s, got: %s", errFileAccessDenied, err)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  7. internal/grid/connection.go

    		return
    	}
    	v.message(m)
    }
    
    func (c *Connection) handleResponse(m message) {
    	if debugPrint {
    		fmt.Printf("%s Got mux response: %v\n", c.Local, m)
    	}
    	v, ok := c.outgoing.Load(m.MuxID)
    	if !ok {
    		if debugReqs {
    			fmt.Println(m.MuxID, c.String(), "Got response for unknown mux")
    		}
    		PutByteBuffer(m.Payload)
    		return
    	}
    	if m.Flags&FlagPayloadIsErr != 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  8. clause/joins_test.go

    			stmt := &gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    			result.join.Build(stmt)
    			if result.sql != stmt.SQL.String() {
    				t.Errorf("want: %s, got: %s", result.sql, stmt.SQL.String())
    			}
    		})
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Nov 03 13:03:13 GMT 2022
    - 2.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/InputValidator.java

            }
            if (array.length != expectedLength) {
                throw new IllegalArgumentException(fieldName + " must be " + expectedLength + " bytes, got " + array.length);
            }
        }
    
        /**
         * Validates a port number
         *
         * @param port the port number to validate
         * @throws IllegalArgumentException if port is invalid
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. internal/config/dns/etcd_dns_test.go

    		{[]string{"."}, "."},
    	}
    
    	for i, tc := range tests {
    		if x := dnsJoin(tc.in...); x != tc.out {
    			t.Errorf("Test %d, expected %s, got %s", i, tc.out, x)
    		}
    	}
    }
    
    func TestPath(t *testing.T) {
    	for _, path := range []string{"mydns", "skydns"} {
    		result := msgPath("service.staging.skydns.local.", path)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 28 17:31:12 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top