Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 288 for startIdx (0.45 seconds)

  1. internal/s3select/sql/stringfuncs.go

    	return string(r[1:]), true
    }
    
    func evalSQLSubstring(s string, startIdx, length int) (res string, err error) {
    	rs := []rune(s)
    
    	// According to s3 document, if startIdx < 1, it is set to 1.
    	if startIdx < 1 {
    		startIdx = 1
    	}
    
    	if startIdx > len(rs) {
    		startIdx = len(rs) + 1
    	}
    
    	// StartIdx is 1-based in the input
    	startIdx--
    	endIdx := len(rs)
    	if length != -1 {
    		if length < 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. internal/s3select/sql/stringfuncs_contrib_test.go

    		s           string
    		startIdx    int
    		length      int
    		resExpected string
    		errExpected error
    	}{
    		{"abcd", 1, 1, "a", nil},
    		{"abcd", -1, 1, "a", nil},
    		{"abcd", 999, 999, "", nil},
    		{"", 999, 999, "", nil},
    		{"测试abc", 1, 1, "测", nil},
    		{"测试abc", 5, 5, "c", nil},
    	}
    
    	for i, tc := range evalCases {
    		res, err := evalSQLSubstring(tc.s, tc.startIdx, tc.length)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  3. internal/s3select/sql/funceval.go

    	if e.From == nil {
    		arg2, arg3 = e.Arg2, e.Arg3
    	}
    
    	// Evaluate the FROM argument
    	v2, err := arg2.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	inferTypeForArithOp(v2)
    	startIdx, ok := v2.ToInt()
    	if !ok {
    		err := fmt.Errorf("Incorrect type for start index argument in %s", sqlFnSubstring)
    		return nil, errIncorrectSQLFunctionArgumentType(err)
    	}
    
    	length := -1
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. tests/test_dependency_contextmanager.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    state = {
        "/async": "asyncgen not started",
        "/sync": "generator not started",
        "/async_raise": "asyncgen raise not started",
        "/sync_raise": "generator raise not started",
        "context_a": "not started a",
        "context_b": "not started b",
        "bg": "not set",
        "sync_bg": "not set",
    }
    
    errors = []
    
    
    async def get_state():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. cmd/metacache_test.go

    	0: {
    		id:           "case-1-normal",
    		bucket:       "bucket",
    		root:         "folder/prefix",
    		recursive:    false,
    		status:       scanStateSuccess,
    		fileNotFound: false,
    		error:        "",
    		started:      metaCacheTestsetTimestamp,
    		ended:        metaCacheTestsetTimestamp.Add(time.Minute),
    		lastUpdate:   metaCacheTestsetTimestamp.Add(time.Minute),
    		lastHandout:  metaCacheTestsetTimestamp,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  6. cmd/batch-handlers_gen.go

    				return
    			}
    		case "User":
    			z.User, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "User")
    				return
    			}
    		case "Started":
    			z.Started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Started")
    				return
    			}
    		case "Replicate":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Replicate")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  7. src/main/resources/fess_message.properties

    success.send_testmail=Sent a test mail.
    success.job_log_delete_all=Deleted job logs.
    success.changed_password=Changed your password.
    success.started_data_update=Started a data update process.
    success.reindex_started=Started re-indexing.
    success.bulk_process_started=Started a bulk process.
    success.print_thread_dump=Printed a thread dump to a log file.
    success.install_plugin=Installing plugin {0}.
    success.delete_plugin=Deleting plugin {0}.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Jul 05 02:36:47 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. src/main/resources/fess_message_en.properties

    success.send_testmail=Sent a test mail.
    success.job_log_delete_all=Deleted job logs.
    success.changed_password=Changed your password.
    success.started_data_update=Started a data update process.
    success.reindex_started=Started re-indexing.
    success.bulk_process_started=Started a bulk process.
    success.print_thread_dump=Printed a thread dump to a log file.
    success.install_plugin=Installing plugin {0}.
    success.delete_plugin=Deleting plugin {0}.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Jul 05 02:36:47 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. docs/de/docs/deployment/server-workers.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Started server process <b>[</b><font color="#34E2E2"><b>27368</b></font><b>]</b>
         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Started server process <b>[</b><font color="#34E2E2"><b>27369</b></font><b>]</b>
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 17:32:56 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  10. docs/pt/docs/deployment/server-workers.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Started server process <b>[</b><font color="#34E2E2"><b>27368</b></font><b>]</b>
         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Started server process <b>[</b><font color="#34E2E2"><b>27369</b></font><b>]</b>
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top