Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,596 for var0 (0.07 sec)

  1. internal/event/target/nats.go

    func (target *NATSTarget) initNATS() error {
    	args := target.args
    
    	var err error
    	if args.Streaming.Enable {
    		target.loggerOnce(context.Background(), errors.New("NATS Streaming is deprecated please migrate to JetStream"), target.ID().String())
    		var stanConn stan.Conn
    		stanConn, err = args.connectStan()
    		target.stanConn = stanConn
    	} else {
    		var natsConn *nats.Conn
    		natsConn, err = args.connectNats()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. manifests/addons/values-grafana.yaml

            folder: "istio"
            type: file
            disableDeletion: false
            options:
              path: /var/lib/grafana/dashboards/istio
          - name: "istio-services"
            orgId: 1
            folder: "istio"
            type: file
            disableDeletion: false
            options:
              path: /var/lib/grafana/dashboards/istio-services
    
    dashboardsConfigMaps:
      istio: "istio-grafana-dashboards"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock.go

    	return rmode, RetentionDate{retDate}, nil
    }
    
    // GetObjectRetentionMeta constructs ObjectRetention from metadata
    func GetObjectRetentionMeta(meta map[string]string) ObjectRetention {
    	var mode RetMode
    	var retainTill RetentionDate
    
    	var modeStr, tillStr string
    	ok := false
    
    	modeStr, ok = meta[strings.ToLower(AmzObjectLockMode)]
    	if !ok {
    		modeStr, ok = meta[AmzObjectLockMode]
    	}
    	if ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance_gen_test.go

    	v := rebalanceInfo{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecoderebalanceInfo(b *testing.B) {
    	v := rebalanceInfo{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 11K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

       * length-in-digits of an encoded integer.
       */
      @Throws(IOException::class)
      private fun writeOrCountBytes(
        sink: BufferedSink?,
        countBytes: Boolean,
      ): Long {
        var sink = sink
        var byteCount = 0L
    
        var byteCountBuffer: Buffer? = null
        if (countBytes) {
          byteCountBuffer = Buffer()
          sink = byteCountBuffer
        }
    
        for (p in 0 until parts.size) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. cmd/site-replication-utils_gen.go

    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *SiteResyncStatus) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

    @Timeout(30)
    @Tag("Slow")
    class CancelTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      lateinit var cancelMode: CancelMode
      lateinit var connectionType: ConnectionType
    
      private var threadToCancel: Thread? = null
    
      enum class CancelMode {
        CANCEL,
        INTERRUPT,
      }
    
      enum class ConnectionType {
        H2,
        HTTPS,
        HTTP,
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. tests/embedded_struct_test.go

    	var egNews EngadgetPost
    	if err := DB.First(&egNews, "title = ?", "engadget_news").Error; err != nil {
    		t.Errorf("no error should happen when query with embedded struct, but got %v", err)
    	} else if egNews.BasePost.Title != "engadget_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    	var egPosts []EngadgetPost
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/configdump.go

    		return "", fmt.Errorf("sidecar doesn't support secrets: %v", err)
    	}
    	for _, secret := range secretDump.DynamicActiveSecrets {
    		// check the ROOTCA from secret dump
    		if secret.Name == "ROOTCA" {
    			var returnStr string
    			var returnErr error
    			strCA, err := c.configDump.GetRootCAFromSecretConfigDump(secret.GetSecret())
    			if err != nil {
    				returnStr = ""
    				returnErr = fmt.Errorf("can not dump ROOTCA from secret: %v", err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. internal/bucket/bandwidth/monitor_gen.go

    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *BucketBandwidthReport) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top