Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for 123 (0.04 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

            assertFalse(ArtifactUtils.isSnapshot("1.2.3"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-SNAPSHOT"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-snapshot"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-20090413.094722-2"));
            assertFalse(ArtifactUtils.isSnapshot("1.2.3-20090413X094722-2"));
        }
    
        @Test
        void testToSnapshotVersion() {
            assertEquals("1.2.3", ArtifactUtils.toSnapshotVersion("1.2.3"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. docs_src/python_types/tutorial011_py39.py

        friends: list[int] = []
    
    
    external_data = {
        "id": "123",
        "signup_ts": "2017-06-01 12:22",
        "friends": [1, "2", b"3"],
    }
    user = User(**external_data)
    print(user)
    # > User id=123 name='John Doe' signup_ts=datetime.datetime(2017, 6, 1, 12, 22) friends=[1, 2, 3]
    print(user.id)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Sep 02 15:56:35 UTC 2023
    - 492 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_cookie_param_models/test_tutorial001.py

    def test_cookie_param_model(client: TestClient):
        with client as c:
            c.cookies.set("session_id", "123")
            c.cookies.set("fatebook_tracker", "456")
            c.cookies.set("googall_tracker", "789")
            response = c.get("/items/")
        assert response.status_code == 200
        assert response.json() == {
            "session_id": "123",
            "fatebook_tracker": "456",
            "googall_tracker": "789",
        }
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

            assertEquals("123 abc", normalizeText(" 123 abc 123", 100, -1, -1, true));
            assertEquals("あいう 123 あいう", normalizeText(" あいう 123 あいう ", 100, -1, -1, true));
            assertEquals("123 abc", normalizeText(" 123\nabc\n123 ", 100, -1, -1, true));
            assertEquals("123# !$", normalizeText(" 123#123!$123  ", 100, -1, -1, true));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. docs_src/python_types/tutorial011_py310.py

        friends: list[int] = []
    
    
    external_data = {
        "id": "123",
        "signup_ts": "2017-06-01 12:22",
        "friends": [1, "2", b"3"],
    }
    user = User(**external_data)
    print(user)
    # > User id=123 name='John Doe' signup_ts=datetime.datetime(2017, 6, 1, 12, 22) friends=[1, 2, 3]
    print(user.id)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Sep 02 15:56:35 UTC 2023
    - 461 bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertEquals(80, HostAndPort.fromString("host:80").getPortOrDefault(123));
        assertEquals(123, HostAndPort.fromString("host").getPortOrDefault(123));
      }
    
      public void testHashCodeAndEquals() {
        HostAndPort hpNoPort1 = HostAndPort.fromString("foo::123");
        HostAndPort hpNoPort2 = HostAndPort.fromString("foo::123");
        HostAndPort hpNoPort3 = HostAndPort.fromString("[foo::123]");
        HostAndPort hpNoPort4 = HostAndPort.fromHost("[foo::123]");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. tests/test_serialize_response_dataclass.py

                "price": 2.0,
                "owner_ids": [1, 2, 3],
            },
        ]
    
    
    @app.get("/items/objectlist", response_model=List[Item])
    def get_objectlist():
        return [
            Item(name="foo", date=datetime(2021, 7, 26)),
            Item(name="bar", date=datetime(2021, 7, 26), price=1.0),
            Item(name="baz", date=datetime(2021, 7, 26), price=2.0, owner_ids=[1, 2, 3]),
        ]
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:56:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  8. utils/utils_test.go

    			trimLen:  2,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim entire slice",
    			input:    []int{1, 2, 3},
    			trimLen:  3,
    			expected: []int{},
    		},
    		{
    			name:     "Trim length greater than slice length",
    			input:    []int{1, 2, 3},
    			trimLen:  5,
    			expected: []int{},
    		},
    		{
    			name:     "Zero trim length",
    			input:    []int{1, 2, 3},
    			trimLen:  0,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. tests/test_serialize_response_model.py

            Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]),
        ]
    
    
    @app.get("/items/validdict", response_model=Dict[str, Item])
    def get_validdict():
        return {
            "k1": Item(aliased_name="foo"),
            "k2": Item(aliased_name="bar", price=1.0),
            "k3": Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]),
        }
    
    
    @app.get(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertEquals(value, ResourceUtil.resolve(value));
    
            value = "${abc.xyz}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("abc", "123");
    
            value = "${abc}";
            assertEquals("123", ResourceUtil.resolve(value));
    
            value = "xxx${abc}zzz";
            assertEquals("xxx123zzz", ResourceUtil.resolve(value));
    
            value = "${abc.xyz}";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top