Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1081 - 1090 of 1,107 for Len (0.03 sec)

  1. tests/update_test.go

    		GetUser("update-returning-3", Config{}),
    	}
    	DB.Create(&users)
    
    	var results []User
    	DB.Model(&results).Where("name IN ?", []string{users[0].Name, users[1].Name}).Clauses(clause.Returning{}).Update("age", 88)
    	if len(results) != 2 || results[0].Age != 88 || results[1].Age != 88 {
    		t.Errorf("failed to return updated data, got %v", results)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  2. internal/config/notify/parse.go

    		var brokers []xnet.Host
    		brokersEnv := target.EnvKafkaBrokers
    		if k != config.Default {
    			brokersEnv = brokersEnv + config.Default + k
    		}
    		kafkaBrokers := env.Get(brokersEnv, kv.Get(target.KafkaBrokers))
    		if len(kafkaBrokers) == 0 {
    			return nil, config.Errorf("kafka 'brokers' cannot be empty")
    		}
    		for _, s := range strings.Split(kafkaBrokers, config.ValueSeparator) {
    			var host *xnet.Host
    			host, err = xnet.ParseHost(s)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  3. doc/go_mem.html

    not reloading local variables from shared memory.
    For example, a compiler must not discard <code>i</code> and reload it
    a second time from <code>*p</code> in this program:
    </p>
    
    <pre>
    i := *p
    if i &lt; 0 || i &gt;= len(funcs) {
    	panic("invalid function index")
    }
    ... complex code ...
    // compiler must NOT reload i = *p here
    funcs[i]()
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

      TF_TString tstr[1];
      TF_TString_Init(&tstr[0]);
      TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1);
    
      auto deallocator = [](void* data, size_t len, void* arg) {};
      unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0],
                                          sizeof(tstr), deallocator, nullptr),
                             TF_DeleteTensor);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. helm-releases/minio-3.6.4.tgz

    }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.customCommands }} # Run custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length := len .statements -}} {{- $statements_length := sub $statements_length 1 -}} { "Version": "2012-10-17", "Statement": [ {{- range $i, $statement := .statements }} { "Effect": "Allow", "Action": [ "{{ $statement.actions | join "\",\n\"" }}" ]{{ if $statement.resources...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 12 01:30:28 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    // Used to return strings across the C API. The caller does not take ownership
    // of the underlying data pointer and is not responsible for freeing it.
    typedef struct TF_StringView {
      const char* data;
      size_t len;
    } TF_StringView;
    
    // --------------------------------------------------------------------------
    // TF_SessionOptions holds options that can be passed during session creation.
    typedef struct TF_SessionOptions TF_SessionOptions;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.29.md

    - Fixed a regression since `v1.27.0` in the scheduler framework when running score plugins. 
      The `skippedScorePlugins` number might be greater than `enabledScorePlugins`, 
      so when initializing a slice the `cap(len(skippedScorePlugins) - len(enabledScorePlugins))` is negative, 
      which is not allowed. ([#121632](https://github.com/kubernetes/kubernetes/pull/121632), [@kerthcet](https://github.com/kerthcet))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:37:31 UTC 2024
    - 375.1K bytes
    - Viewed (1)
  8. cmd/api-errors.go

    				Description:    e.Message,
    				HTTPStatusCode: e.Code,
    			}
    			// GCS may send multiple errors, just pick the first one
    			// since S3 only sends one Error XML response.
    			if len(e.Errors) >= 1 {
    				apiErr.Code = e.Errors[0].Reason
    			}
    		case *azcore.ResponseError:
    			apiErr = APIError{
    				Code:           e.ErrorCode,
    				Description:    e.Error(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  9. helm-releases/minio-3.6.0.tgz

    }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.customCommands }} # Run custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length := len .statements -}} {{- $statements_length := sub $statements_length 1 -}} { "Version": "2012-10-17", "Statement": [ {{- range $i, $statement := .statements }} { "Effect": "Allow", "Action": [ "{{ $statement.actions | join "\",\n\"" }}" ]{{ if $statement.resources...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 13 22:44:21 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  10. helm-releases/minio-3.5.6.tgz

    }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.customCommands }} # Run custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length := len .statements -}} {{- $statements_length := sub $statements_length 1 -}} { "Version": "2012-10-17", "Statement": [ {{- range $i, $statement := .statements }} { "Effect": "Allow", "Action": [ "{{ $statement.actions | join "\",\n\"" }}" ], "Resource": [...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 19 20:34:14 UTC 2022
    - 17.6K bytes
    - Viewed (0)
Back to top