Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for Assignments (0.06 sec)

  1. clause/set.go

    	}
    	sort.Strings(keys)
    
    	assignments := make([]Assignment, len(keys))
    	for idx, key := range keys {
    		assignments[idx] = Assignment{Column: Column{Name: key}, Value: values[key]}
    	}
    	return assignments
    }
    
    func AssignmentColumns(values []string) Set {
    	assignments := make([]Assignment, len(values))
    	for idx, value := range values {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Nov 29 03:02:44 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. clause/set_test.go

    func TestAssignments(t *testing.T) {
    	set := clause.Assignments(map[string]interface{}{
    		"name": "jinzhu",
    		"age":  18,
    	})
    
    	assignments := []clause.Assignment(set)
    
    	sort.Slice(assignments, func(i, j int) bool {
    		return strings.Compare(assignments[i].Column.Name, assignments[j].Column.Name) > 0
    	})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

        } ?: throw IllegalArgumentException("No such suite: $javaName")
      }
    }
    
    suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites {
      val url = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv"
    
      val call = okHttpClient.newCall(Request(url.toHttpUrl()))
    
      val suites =
        call.executeAsync().use {
          if (!it.isSuccessful) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/MediaType.java

       * may be necessary in certain situations for compatibility.
       */
      public static final MediaType TEXT_JAVASCRIPT_UTF_8 = createConstantUtf8(TEXT_TYPE, "javascript");
    
      /**
       * <a href="http://www.iana.org/assignments/media-types/text/tab-separated-values">Tab separated
       * values</a>.
       *
       * @since 15.0
       */
      public static final MediaType TSV_UTF_8 = createConstantUtf8(TEXT_TYPE, "tab-separated-values");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Protocol.kt

      /**
       * Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or
       * "h2".
       *
       * See also [IANA tls-extensiontype-values][iana].
       *
       * [iana]: https://www.iana.org/assignments/tls-extensiontype-values
       */
      override fun toString(): String = protocol
    
      companion object {
        /**
         * Returns the protocol identified by `protocol`.
         *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. callbacks/update.go

    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixNano()})
    						} else if field.AutoUpdateTime == schema.UnixMillisecond {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixMilli()})
    						} else if field.AutoUpdateTime == schema.UnixSecond {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    x++                 x += 1
    x--                 x -= 1
    </pre>
    
    
    <h3 id="Assignments">Assignments</h3>
    
    <pre class="ebnf">
    Assignment = ExpressionList assign_op ExpressionList .
    
    assign_op = [ add_op | mul_op ] "=" .
    </pre>
    
    <p>
    Each left-hand side operand must be <a href="#Address_operators">addressable</a>,
    a map index expression, or (for <code>=</code> assignments only) the
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // This field follows standard Kubernetes label syntax.
      // Un-prefixed names are reserved for IANA standard service names (as per
      // RFC-6335 and https://www.iana.org/assignments/service-names).
      // Non-standard protocols should use prefixed names such as
      // mycompany.com/my-custom-protocol.
      // +optional
      optional string appProtocol = 4;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/discovery/v1/generated.proto

      // This field follows standard Kubernetes label syntax.
      // Valid values are either:
      //
      // * Un-prefixed protocol names - reserved for IANA standard service names (as per
      // RFC-6335 and https://www.iana.org/assignments/service-names).
      //
      // * Kubernetes-defined prefixed names:
      //   * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. tests/upsert_test.go

    	}
    
    	lang3 := Language{Code: "upsert", Name: "Upsert"}
    	if err := DB.Clauses(clause.OnConflict{
    		Columns:   []clause.Column{{Name: "code"}},
    		DoUpdates: clause.Assignments(map[string]interface{}{"name": "upsert-new"}),
    	}).Create(&lang3).Error; err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    	if err := DB.Find(&langs, "code = ?", lang.Code).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
Back to top