Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1541 - 1550 of 2,939 for gets (0.03 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       *     {@link #length}
       */
      public long get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
       * Returns the smallest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Equivalent to {@code asList().indexOf(target)}.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

       *     {@link #length}
       */
      public int get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
       * Returns the smallest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Equivalent to {@code asList().indexOf(target)}.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. internal/event/target/redis.go

    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *RedisTarget) isActive() (bool, error) {
    	conn := target.pool.Get()
    	defer conn.Close()
    
    	_, pingErr := conn.Do("PING")
    	if pingErr != nil {
    		if xnet.IsConnRefusedErr(pingErr) {
    			return false, store.ErrNotConnected
    		}
    		return false, pingErr
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            List active = profileManager.getActiveProfiles();
    
            assertNotNull(active);
            assertEquals(1, active.size());
            assertEquals("defaultActivated", ((Profile) active.get(0)).getId());
        }
    
        @Test
        void testShouldNotActivateDefaultProfile() throws Exception {
            Profile syspropActivated = new Profile();
            syspropActivated.setId("syspropActivated");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. docs_src/security/tutorial003_an_py310.py

            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]):
        user_dict = fake_users_db.get(form_data.username)
        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

         *
         * @param fieldName the name of the field to get configuration for
         * @return an OptionalThing containing the Config if the field exists and has a non-blank value,
         *         otherwise an empty OptionalThing
         */
        public OptionalThing<Config> getConfig(final String fieldName) {
            final String value = params.get(fieldName);
            if (StringUtil.isNotBlank(value)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

                if (context.options().goals().isEmpty()) {
                    return badGoalsErrorMessage("No goals specified.", context);
                }
    
                String goalName = context.options().goals().get().get(0);
                Goal goal = context.goals.get(goalName);
                if (goal == null) {
                    return badGoalsErrorMessage("Unknown goal: " + goalName, context);
                }
    
                return goal.execute(context);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            final Map<String, String[]> map = relatedQueryMap.get(key);
            if (map != null) {
                final String[] queries = map.get(toLowerCase(query));
                if (queries != null) {
                    return queries;
                }
            }
            return StringUtil.EMPTY_STRINGS;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/stream/StreamUtil.java

             * @return The result produced by applying the function to the stream.
             */
            public <R> R get(final Function<Stream<T>, R> stream) {
                try (Stream<T> s = supplier.get()) {
                    return stream.apply(s);
                }
            }
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top