Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 401 for Nice (0.04 sec)

  1. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/multiModuleNoBackReferences/some-thing/webinar-impl/src/test/java/webinar/WebinarTest.java

    package webinar;
    
    import org.junit.Assert;
    import org.junit.Test;
    
    public class WebinarTest {
      
      @Test public void normalizesDescription() {
        //when
        Demoable demoable = new Webinar("nice   day");
        
        //then
        Assert.assertEquals("nice day", demoable.getDescription());
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 291 bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-cpu.go

    	}
    
    	ts := cpuMetrics.TimesStat
    	tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    	cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    	m.Set(sysCPUUser, cpuUserVal)
    	cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    	m.Set(sysCPUSystem, cpuSystemVal)
    	cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    	m.Set(sysCPUNice, cpuNiceVal)
    	cpuStealVal := math.Round(ts.Steal/tot*100*100) / 100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 23 23:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/multiModuleWithRemoteParent/some-thing/webinar-impl/src/test/java/webinar/WebinarTest.java

    package webinar;
    
    import org.junit.Assert;
    import org.junit.Test;
    
    public class WebinarTest {
      
      @Test public void normalizesDescription() {
        //when
        Demoable demoable = new Webinar("nice   day");
        
        //then
        Assert.assertEquals("nice day", demoable.getDescription());
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 291 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

    # Test required and embedded body parameters with no bodies sent
    def test_post_body_example():
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py

    @needs_py310
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    @needs_py310
    def test_openapi_schema(client: TestClient):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py

        return client
    
    
    @needs_pydanticv1
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    @needs_pydanticv1
    def test_openapi_schema(client: TestClient):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/flatmultimodule/some-thing/webinar-impl/src/test/java/webinar/WebinarTest.java

    package webinar;
    
    import org.junit.Assert;
    import org.junit.Test;
    
    public class WebinarTest {
      
      @Test public void normalizesDescription() {
        //when
        Demoable demoable = new Webinar("nice   day");
        
        //then
        Assert.assertEquals("nice day", demoable.getDescription());
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 291 bytes
    - Viewed (0)
  8. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/multiModule/some-thing/webinar-impl/src/test/java/webinar/WebinarTest.java

    package webinar;
    
    import org.junit.Assert;
    import org.junit.Test;
    
    public class WebinarTest {
      
      @Test public void normalizesDescription() {
        //when
        Demoable demoable = new Webinar("nice   day");
        
        //then
        Assert.assertEquals("nice day", demoable.getDescription());
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 291 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_schema_extra_example/test_tutorial001.py

        return client
    
    
    @needs_pydanticv2
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    @needs_pydanticv2
    def test_openapi_schema(client: TestClient):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/multiModuleWithNestedParent/some-thing/webinar-impl/src/test/java/webinar/WebinarTest.java

    package webinar;
    
    import org.junit.Assert;
    import org.junit.Test;
    
    public class WebinarTest {
      
      @Test public void normalizesDescription() {
        //when
        Demoable demoable = new Webinar("nice   day");
        
        //then
        Assert.assertEquals("nice day", demoable.getDescription());
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 291 bytes
    - Viewed (0)
Back to top