Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 455 for compareOp (0.07 seconds)

  1. cmd/metrics-v2_test.go

    	}
    
    	// Deterministic ordering
    	slices.SortFunc(capitalPutObjects, func(a MetricV2, b MetricV2) int {
    		le1 := a.VariableLabels["le"]
    		le2 := a.VariableLabels["le"]
    		return strings.Compare(le1, le2)
    	})
    	if le := capitalPutObjects[0].VariableLabels["le"]; le != "0.500" {
    		t.Errorf("Expected le='0.050' api=PutObject metrics but got '%v'", le)
    	}
    	if value := capitalPutObjects[0].Value; value != 1 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. internal/etag/reader.go

    	}
    }
    
    // A Reader wraps an io.Reader and computes the
    // MD5 checksum of the read content as ETag.
    //
    // Optionally, a Reader can also verify that
    // the computed ETag matches an expected value.
    // Therefore, it compares both ETags once the
    // underlying io.Reader returns io.EOF.
    // If the computed ETag does not match the
    // expected ETag then Read returns a VerifyError.
    //
    // Reader implements the Tagger interface.
    type Reader struct {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.matches
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/TopKSelector.java

          buffer[bufferSize++] = elem;
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
          if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) > 0) {
            threshold = elem;
          }
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
        } else if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) < 0) {
          // Otherwise, we can ignore elem; we've seen k better elements.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        @Override
        public String toString() {
          return rootLocaleFormat("%s%s(%s)", typeSignature, name, getTypesString(parameterTypes));
        }
    
        @Override
        public int compareTo(MethodSignature o) {
          return toString().compareTo(o.toString());
        }
      }
    
      private static final class TypeSignature {
        final List<TypeParameterSignature> parameterSignatures;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        @Override
        public String toString() {
          return rootLocaleFormat("%s%s(%s)", typeSignature, name, getTypesString(parameterTypes));
        }
    
        @Override
        public int compareTo(MethodSignature o) {
          return toString().compareTo(o.toString());
        }
      }
    
      private static final class TypeSignature {
        final List<TypeParameterSignature> parameterSignatures;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java

                    if (range.hasRestrictions()) {
                        return range.containsVersion(version);
                    } else {
                        return range.getRecommendedVersion().compareTo(version) == 0;
                    }
                } catch (InvalidVersionSpecificationException ex) {
                    return false;
                }
            }
    
            @Override
            public String toString() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/NullsFirstOrdering.java

        this.ordering = ordering;
      }
    
      @Override
      public int compare(@Nullable T left, @Nullable T right) {
        if (left == right) {
          return 0;
        }
        if (left == null) {
          return RIGHT_IS_GREATER;
        }
        if (right == null) {
          return LEFT_IS_GREATER;
        }
        return ordering.compare(left, right);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.startsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for {@link CharStreams#copy}.
     *
     * <p>{@link CharStreams#copy} has type specific optimizations for various common Appendable and
     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class CharStreamsCopyBenchmark {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top