Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3061 - 3070 of 3,853 for qint (0.02 sec)

  1. istioctl/cmd/sysexits.go

    	// below here are non-zero exit codes that don't indicate an error with istioctl itself
    	ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD
    )
    
    func GetExitCode(e error) int {
    	if strings.Contains(e.Error(), "unknown command") {
    		e = util.CommandParseError{Err: e}
    	}
    
    	switch e.(type) {
    	case util.CommandParseError:
    		return ExitIncorrectUsage
    	case analyze.FileParseError:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. internal/grid/grid_test.go

    	const testPayload = "Hello Grid World!"
    
    	start := time.Now()
    	stream, err := remoteConn.NewStream(context.Background(), handlerTest, []byte(testPayload))
    	errFatal(err)
    	var n int
    	stream.Requests <- []byte(strconv.Itoa(n))
    	for resp := range stream.responses {
    		errFatal(resp.Err)
    		t.Logf("got resp: %+v", string(resp.Msg))
    		if string(resp.Msg) != testPayload+strconv.Itoa(n) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    func getPartFile(entriesTrie *trie.Trie, partNumber int, etag string) (partFile string) {
    	for _, match := range entriesTrie.PrefixMatch(fmt.Sprintf("%.5d.%s.", partNumber, etag)) {
    		partFile = match
    		break
    	}
    	return partFile
    }
    
    func partNumberToRangeSpec(oi ObjectInfo, partNumber int) *HTTPRangeSpec {
    	if oi.Size == 0 || len(oi.Parts) == 0 {
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

      override fun equals(other: Any?): Boolean {
        return other is CertificatePinner &&
          other.pins == pins &&
          other.certificateChainCleaner == certificateChainCleaner
      }
    
      override fun hashCode(): Int {
        var result = 37
        result = 41 * result + pins.hashCode()
        result = 41 * result + certificateChainCleaner.hashCode()
        return result
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/format-erasure_test.go

    		for _, set := range format.Erasure.Sets {
    			for _, diskID := range set {
    				h.Write([]byte(diskID))
    			}
    		}
    		formatHashes[i] = hex.EncodeToString(h.Sum(nil))
    	}
    
    	formatCountMap := make(map[string]int)
    	for _, hash := range formatHashes {
    		if hash == "" {
    			continue
    		}
    		formatCountMap[hash]++
    	}
    
    	maxHash := ""
    	maxCount := 0
    	for hash, count := range formatCountMap {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ResponseJvmTest.kt

              return Timeout.NONE
            }
          }
        return source.buffer().asResponseBody(null, -1)
      }
    
      private fun newResponse(
        responseBody: ResponseBody,
        code: Int = 200,
        fn: Response.Builder.() -> Unit = {},
      ): Response {
        return Response.Builder()
          .request(
            Request.Builder()
              .url("https://example.com/")
              .build(),
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
      public void testWrite_putSingleByte() throws Exception {
        int b = 'q';
        HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);
        out.write(b);
    
        verify(hashFunction).newHasher();
        verify(hasher).putByte((byte) b);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/NaturalOrdering.java

      @LazyInit @CheckForNull private transient Ordering<@Nullable Comparable<?>> nullsFirst;
      @LazyInit @CheckForNull private transient Ordering<@Nullable Comparable<?>> nullsLast;
    
      @Override
      public int compare(Comparable<?> left, Comparable<?> right) {
        checkNotNull(left); // for GWT
        checkNotNull(right);
        return ((Comparable<Object>) left).compareTo(right);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          count.incrementAndGet();
          lastNotification = notification;
        }
    
        public int getCount() {
          return count.get();
        }
    
        public K getLastEvictedKey() {
          return lastNotification.getKey();
        }
    
        public V getLastEvictedValue() {
          return lastNotification.getValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

            DefaultExtensibleEnum(String id) {
                this.id = Objects.requireNonNull(id);
            }
    
            public String id() {
                return id;
            }
    
            @Override
            public int hashCode() {
                return id().hashCode();
            }
    
            @Override
            public boolean equals(Object obj) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top