Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 143 for Nice (0.02 seconds)

  1. android/guava-tests/test/com/google/common/base/ObjectsTest.java

        int h2 = Objects.hashCode(Integer.valueOf(1), new String("two"), Double.valueOf(3.0));
        // repeatable
        assertEquals(h1, h2);
    
        // These don't strictly need to be true, but they're nice properties.
        assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, 2));
        assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, null, 2));
        assertTrue(Objects.hashCode(1, null, 2) != Objects.hashCode(1, 2));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. tests/hooks_test.go

    		t.Fatalf("should returns error %v when creating product, but got nil", err)
    	}
    
    	product2 := Product2{Name: "Nice", Price: 100}
    
    	if err := DB.Create(&product2).Error; err != nil {
    		t.Fatalf("Failed to create product, got error: %v", err)
    	}
    
    	var result Product2
    	if err := DB.First(&result, "name = ?", "Nice").Error; err != nil {
    		t.Fatalf("Failed to query product, got error: %v", err)
    	}
    
    	var resultClone Product2
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jun 17 03:59:06 GMT 2024
    - 16.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllNullValueSingle_unsupported() {
        multimap().putAll(k1(), newArrayList((V) null));
        expectUnchanged();
      }
    
      // In principle, it would be nice to apply these two tests to keys with existing values, too.
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueNullLast_unsupported() {
        int size = getNumElements();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. docs/metrics/prometheus/list.md

    | `minio_node_cpu_avg_iowait_max`      | CPU ioWait time (max).                     |
    | `minio_node_cpu_avg_nice`            | CPU nice time.                             |
    | `minio_node_cpu_avg_nice_avg`        | CPU nice time (avg).                       |
    | `minio_node_cpu_avg_nice_max`        | CPU nice time (max).                       |
    | `minio_node_cpu_avg_steal`           | CPU steam time.                            |
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 43.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

        implements ListenableFuture<V> {
      // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons
      // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to
      // avoid unintended usage.
    
      // The execution list to hold our listeners.
      private final ExecutionList executionList = new ExecutionList();
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<Float, Boolean> c1 = Functions.compose(Functions.compose(h, g), f);
        Function<Float, Boolean> c2 = Functions.compose(h, Functions.compose(g, f));
    
        // Might be nice (eventually) to have:
        //     assertEquals(c1, c2);
    
        // But for now, settle for this:
        assertEquals(c1.hashCode(), c2.hashCode());
    
        assertEquals(c1.apply(1.0f), c2.apply(1.0f));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 16K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

        implements ListenableFuture<V> {
      // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons
      // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to
      // avoid unintended usage.
    
      // The execution list to hold our listeners.
      private final ExecutionList executionList = new ExecutionList();
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

                .withTearDown(parentBuilder.getTearDown())
                .createTestSuite());
        /*
         * TODO(cpovirk): the Map tests duplicate most of this effort by using a
         * CollectionTestSuiteBuilder on values(). It would be nice to avoid that
         */
        derived.add(
            SetTestSuiteBuilder.using(
                    new BiMapValueSetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

            "jnr.constants.ConstantResolver",
        ),
    )
    plugins.withId("java-base") {
        dependencies {
            attributesSchema {
                attribute(minified)
            }
            // It would be nice if we could be more selective about which variants to apply this to.
            // TODO https://github.com/gradle/gradle/issues/11831#issuecomment-580686994
            artifactTypes.getByName("jar") {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 16:18:05 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/dataclasses.md

    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    So, you might still need to use Pydantic models.
    
    But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ///
    
    ## Dataclasses in `response_model` { #dataclasses-in-response-model }
    
    You can also use `dataclasses` in the `response_model` parameter:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top