Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 413 for got4 (0.03 sec)

  1. 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)
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. 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%
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. istioctl/pkg/util/formatting/formatter.go

    	case LogFormat:
    		return printLog(ms, colorize), nil
    	case JSONFormat:
    		return printJSON(ms)
    	case YAMLFormat:
    		return printYAML(ms)
    	default:
    		return "", fmt.Errorf("invalid format, expected one of %v but got %q", MsgOutputFormatKeys, format)
    	}
    }
    
    func printLog(ms diag.Messages, colorize bool) string {
    	logOutput := make([]string, 0, len(ms))
    	for _, m := range ms {
    		logOutput = append(logOutput, render(m, colorize))
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Tue Jul 11 02:41:45 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. docs/distributed/decom-encrypted-kes.sh

    	echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}"
    	exit 1
    fi
    
    got_checksum_1=$(./mc cat myminio/versioned-1/dsync/drwmutex.go | md5sum)
    if [ "${expected_checksum}" != "${got_checksum_1}" ]; then
    	echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum_1}"
    	exit 1
    fi
    
    ./mc ls -r myminio/versioned >decommissioned_ns.txt
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. cmd/admin-handlers-idp-config.go

    		return
    	}
    
    	if err = validateConfig(ctx, cfg, subSys); err != nil {
    
    		var validationErr ldap.Validation
    		if errors.As(err, &validationErr) {
    			// If we got an LDAP validation error, we need to send appropriate
    			// error message back to client (likely mc).
    			writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigLDAPValidation),
    				validationErr.FormatError(), r.URL)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. istioctl/pkg/precheck/precheck_test.go

    		},
    		{
    			revision:       "canary",
    			version:        "2.0",
    			expectedOutput: nil,
    			expectedError:  fmt.Errorf("expected major version 1, got 2"),
    		},
    		{
    			revision:       "canary",
    			version:        "2.",
    			expectedOutput: nil,
    			expectedError:  fmt.Errorf("minor version is not a number: X"),
    		},
    		// TODO: add more test cases
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Tue Jul 09 12:01:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. istioctl/pkg/authz/analyzer_test.go

    						},
    					},
    				},
    			},
    			wantErr: nil,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if _, wanted2 := NewAnalyzer(tt.input); wanted2 != nil {
    				t.Errorf("Wanted %v, got %v", tt.wantErr, wanted2)
    			}
    		})
    	}
    }
    
    func TestPrint(t *testing.T) {
    	a := &Analyzer{
    		listenerDump: &envoy_admin.ListenersConfigDump{
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. istioctl/pkg/validate/validate_test.go

    			warn, err := v.validateResource("istio-system", "", fromYAML(c.in), writer)
    			if (err == nil) != c.valid {
    				tt.Fatalf("unexpected validation result: got %v want %v: err=%v", err == nil, c.valid, err)
    			}
    			if (warn != nil) != c.warn {
    				tt.Fatalf("unexpected validation warning result: got %v want %v: warn=%v", warn != nil, c.warn, warn)
    			}
    		})
    	}
    }
    
    func buildMultiDocConfig(docs []string) string {
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. 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.
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. cmd/xl-storage_unix_test.go

    	}
    
    	// Get umask of the bits stored.
    	currentUmask := 0o777 - uint32(st.Mode().Perm())
    
    	// Verify if umask is correct.
    	if int(currentUmask) != testCase.expectedUmask {
    		t.Fatalf("Umask check failed expected %d, got %d", testCase.expectedUmask, currentUmask)
    	}
    }
    
    // Tests if the file creations happen with proper umask.
    func TestIsValidUmaskFile(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top