Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1091 - 1100 of 3,731 for get2 (0.02 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       *   <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@code
       *       comparator.compare(tj, ti) > 0} for {@code i < j}, where {@code ti =
       *       valuesInExpectedOrder.get(i)} and {@code tj = valuesInExpectedOrder.get(j)}.
       * </ul>
       */
      public static <T extends @Nullable Object> void testComparator(
          Comparator<? super T> comparator, List<T> valuesInExpectedOrder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/CurlHelper.java

                    .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            nodeManager = new NodeManager(hosts, node -> request(new CurlRequest(Method.GET, node.getUrl("/"))));
            nodeManager.setHeartbeatInterval(fessConfig.getFesenHeartbeatInterval());
        }
    
        /**
         * Creates a GET request for the specified path.
         * @param path the request path
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

            MonotonicClock clock1 = MonotonicClock.get();
            MonotonicClock clock2 = MonotonicClock.get();
    
            assertSame(clock1, clock2, "Multiple calls to get() should return the same instance");
        }
    
        @Test
        @DisplayName("MonotonicClock should always use UTC timezone")
        void testClockTimezone() {
            MonotonicClock clock = MonotonicClock.get();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. tests/test_dependency_pep695.py

    )
    
    
    def test_pep695_type_dependencies():
        app = FastAPI()
    
        @app.get("/")
        async def get_with_dep(value: DependedValue) -> str:  # noqa
            return f"value: {value}"
    
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:34:34 GMT 2026
    - 628 bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                if (PRIMITIVE_BY_CLASS.get(fieldType)) {
                    return false;
                }
    
                return !"parent".equals(field.getName());
            }
    
            private void evaluateArray(Object target) throws ModelInterpolationException {
                int len = Array.getLength(target);
                for (int i = 0; i < len; i++) {
                    Object value = Array.get(target, i);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/pac/PacLogonInfo.java

                // Compute Resource Group IDs with Resource Domain ID to get SIDs
                this.resourceGroupSids = new SID[resourceGroups.length];
                for (int i = 0; i < resourceGroups.length; i++) {
                    this.resourceGroupSids[i] = new SID(resourceDomainId, resourceGroups[i].getId());
                }
    
                // Compute User IDs with Domain ID to get User SIDs
                // First extra is user if userId is empty
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/Kerb5Authenticator.java

         */
        public void setRealm(String realm) {
            this.realm = realm;
        }
    
        /**
         * Get the Kerberos realm
         *
         * @return the kerberos realm
         */
        public String getRealm() {
            return this.realm;
        }
    
        /**
         * Get the <code>Subject</code> object.
         *
         * @return Subject represents the user who perform Kerberos authentication.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/StandardTable.java

      public boolean containsValue(@Nullable Object value) {
        return value != null && super.containsValue(value);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        return (rowKey == null || columnKey == null) ? null : super.get(rowKey, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
        return backingMap.isEmpty();
      }
    
      @Override
      public int size() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  9. tests/test_http_connection_injection.py

    from starlette.websockets import WebSocket
    
    app = FastAPI()
    app.state.value = 42
    
    
    async def extract_value_from_http_connection(conn: HTTPConnection):
        return conn.app.state.value
    
    
    @app.get("/http")
    async def get_value_by_http(value: int = Depends(extract_value_from_http_connection)):
        return value
    
    
    @app.websocket("/ws")
    async def get_value_by_ws(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 09 13:56:41 GMT 2020
    - 972 bytes
    - Click Count (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

    /**
     * Test for ModelSource interface and its implementations.
     */
    class ModelSourceTest {
    
        @Test
        void testBuildSourceHasNoModelId() {
            Path path = Paths.get("/tmp/pom.xml");
            ModelSource source = Sources.buildSource(path);
    
            assertNotNull(source);
            assertNull(source.getModelId(), "Build sources should not have a modelId");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top