Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 956 for Appendf (0.4 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

      buildString {
        append("-----BEGIN CERTIFICATE-----\n")
        encodeBase64Lines(encoded.toByteString())
        append("-----END CERTIFICATE-----\n")
      }
    
    internal fun StringBuilder.encodeBase64Lines(data: ByteString) {
      val base64 = data.base64()
      for (i in 0 until base64.length step 64) {
        append(base64, i, minOf(i + 64, base64.length)).append('\n')
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. cmd/batch-job-common-types_gen.go

    func (z BatchJobKV) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Key"
    	err = en.Append(0x82, 0xa3, 0x4b, 0x65, 0x79)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Key)
    	if err != nil {
    		err = msgp.WrapError(err, "Key")
    		return
    	}
    	// write "Value"
    	err = en.Append(0xa5, 0x56, 0x61, 0x6c, 0x75, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Value)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. internal/logger/targets.go

    	for _, cfg := range cfgs {
    		if cfg.Enabled {
    			t, err := http.New(cfg)
    			if err != nil {
    				errs = append(errs, err)
    			}
    			tgts = append(tgts, t)
    			newWebhooks = append(newWebhooks, t)
    		}
    	}
    
    	oldTargets, others := splitTargets(targetsList.get(), types.TargetHTTP)
    	newWebhooks = append(newWebhooks, others...)
    
    	for i := range oldTargets {
    		currentTgt, ok := oldTargets[i].(*http.Target)
    		if !ok {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ACE.java

            final int count, i;
            final String str;
    
            final StringBuffer sb = new StringBuffer();
            sb.append(isAllow() ? "Allow " : "Deny  ");
            appendCol(sb, sid.toDisplayString(), 25);
            sb.append(" 0x").append(Hexdump.toHexString(access, 8)).append(' ');
            sb.append(isInherited() ? "Inherited " : "Direct    ");
            appendCol(sb, getApplyToText(), 34);
            return sb.toString();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. tests/associations_many2many_test.go

    	languages := []Language{
    		{Code: "language-many2many-append-1-1", Name: "language-many2many-append-1-1"},
    		{Code: "language-many2many-append-2-1", Name: "language-many2many-append-2-1"},
    	}
    	DB.Create(&languages)
    
    	if err := DB.Model(&user2).Association("Languages").Append(&languages); err != nil {
    		t.Fatalf("Error happened when append language, got %v", err)
    	}
    
    	user.Languages = append(user.Languages, languages...)
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  6. internal/grid/msg.go

    	if m.MuxID != 0 {
    		res = append(res, fmt.Sprintf("MuxID: %v", m.MuxID))
    	}
    	if m.Seq != 0 {
    		res = append(res, fmt.Sprintf("Seq: %v", m.Seq))
    	}
    	if m.DeadlineMS != 0 {
    		res = append(res, fmt.Sprintf("Deadline: %vms", m.DeadlineMS))
    	}
    	if m.Handler != handlerInvalid {
    		res = append(res, fmt.Sprintf("Handler: %v", m.Handler))
    	}
    	if m.Op != 0 {
    		res = append(res, fmt.Sprintf("Op: %v", m.Op))
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

      @JvmField val message: String,
    ) {
      override fun toString(): String =
        buildString {
          if (protocol == Protocol.HTTP_1_0) {
            append("HTTP/1.0")
          } else {
            append("HTTP/1.1")
          }
          append(' ').append(code)
          append(' ').append(message)
        }
    
      companion object {
        fun get(response: Response): StatusLine = StatusLine(response.protocol, response.code, response.message)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. tests/multi_primary_keys_test.go

    	}
    
    	// Append
    	tag3 := &Tag{Locale: "ZH", Value: "tag3"}
    	DB.Model(&blog).Association("Tags").Append([]*Tag{tag3})
    
    	if !compareTags(blog.Tags, []string{"tag1", "tag2", "tag3"}) {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if count := DB.Model(&blog).Association("Tags").Count(); count != 3 {
    		t.Fatalf("Blog should has 3 tags after Append, got %v", count)
    	}
    
    	var tags []Tag
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

            final StringBuilder buf = new StringBuilder(100);
            buf.append(seed).append(CACHE_KEY_SPLITTER);
            stream(tags).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
            buf.append(CACHE_KEY_SPLITTER);
            stream(roles).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
            buf.append(CACHE_KEY_SPLITTER);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. cmd/data-usage-cache_gen.go

    		o = append(o, 0xa2, 0x6f, 0x73)
    		o = msgp.AppendUint64(o, z.Objects)
    		// string "vs"
    		o = append(o, 0xa2, 0x76, 0x73)
    		o = msgp.AppendUint64(o, z.Versions)
    		// string "dms"
    		o = append(o, 0xa3, 0x64, 0x6d, 0x73)
    		o = msgp.AppendUint64(o, z.DeleteMarkers)
    		// string "szs"
    		o = append(o, 0xa3, 0x73, 0x7a, 0x73)
    		o = msgp.AppendArrayHeader(o, uint32(dataUsageBucketLen))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 85.5K bytes
    - Viewed (0)
Back to top