Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2741 - 2750 of 2,878 for int3 (0.05 sec)

  1. internal/event/target/kafka.go

    		User      string `json:"username"`
    		Password  string `json:"password"`
    		Mechanism string `json:"mechanism"`
    	} `json:"sasl"`
    	Producer struct {
    		Compression      string `json:"compression"`
    		CompressionLevel int    `json:"compressionLevel"`
    	} `json:"producer"`
    }
    
    // Validate KafkaArgs fields
    func (k KafkaArgs) Validate() error {
    	if !k.Enable {
    		return nil
    	}
    	if len(k.Brokers) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    	select {
    	case <-unlockReturned:
    		t.Fatal("Unlock timed out, which should not happen")
    	case <-timer.C:
    	}
    }
    
    // Borrowed from mutex_test.go
    func HammerMutex(m *DRWMutex, loops int, cdone chan bool) {
    	for i := 0; i < loops; i++ {
    		m.Lock(id, source)
    		m.Unlock(context.Background())
    	}
    	cdone <- true
    }
    
    // Borrowed from mutex_test.go
    func TestMutex(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. internal/kms/config.go

    		} else {
    			loadX509KeyPair := func(certFile, keyFile string) (tls.Certificate, error) {
    				// Manually load the certificate and private key into memory.
    				// We need to check whether the private key is encrypted, and
    				// if so, decrypt it using the user-provided password.
    				certBytes, err := os.ReadFile(certFile)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. src/archive/zip/writer_test.go

    	}
    	err := w.AddFS(writeTestsToFS(tests))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Add subfolder into fsys to match what we'll read from the tar.
    	tests = append(tests[:2:2], WriteTest{Name: "subfolder", Mode: 0o555 | os.ModeDir}, tests[2])
    
    	// read it back
    	r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.9.md

    *   Pod preemption has been improved.
        *   Now takes PodDisruptionBudget into account. ([#56178](https://github.com/kubernetes/kubernetes/pull/56178),[ @bsalamat](https://github.com/bsalamat))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Nov 16 10:46:27 UTC 2021
    - 313.7K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

    )
    
    var (
    	fqdn, direction, subset string
    	port                    int
    	verboseProxyConfig      bool
    	waypointProxyConfig     bool
    
    	address, listenerType, statsType string
    
    	routeName string
    
    	clusterName, status string
    
    	// output format (json, yaml or short)
    	outputFormat string
    
    	proxyAdminPort int
    
    	configDumpFile string
    
    	labelSelector = ""
    	loggerName    string
    )
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      }
    
      /**
       * Returns the number of key-value mappings in this map. If the map contains more than {@code
       * Integer.MAX_VALUE} elements, returns {@code Integer.MAX_VALUE}.
       */
      public int size() {
        return map.size();
      }
    
      /** Returns {@code true} if this map contains no key-value mappings. */
      public boolean isEmpty() {
        return map.isEmpty();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. common/config/.golangci.yml

          - name: range-val-in-closure
          - name: range-val-address
          - name: waitgroup-by-value
          - name: atomic
          - name: call-to-gc
          - name: duplicated-imports
          - name: string-of-int
          - name: defer
            arguments:
              - - "call-chain"
          - name: unconditional-recursion
          - name: identical-branches
            # the following rules can be enabled in the future
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                    sb.append(line);
                }
            }
            return sb.toString();
        }
    
        public class DefaultContentsAnalyzer implements SuggestAnalyzer {
    
            private final int maxContentLenth = settings.getAsInt(SuggestSettings.DefaultKeys.MAX_CONTENT_LENGTH, 50000);
    
            @Override
            public List<AnalyzeToken> analyze(final String text, final String field, final String lang) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       */
      fun skipConnectBody(response: Response) {
        val contentLength = response.headersContentLength()
        if (contentLength == -1L) return
        val body = newFixedLengthSource(contentLength)
        body.skipAll(Int.MAX_VALUE, MILLISECONDS)
        body.close()
      }
    
      /** An HTTP request body. */
      private inner class KnownLengthSink : Sink {
        private val timeout = ForwardingTimeout(sink.timeout())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top