Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 111 for isActive (0.12 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          this.loading = loading;
        }
    
        @Override
        public boolean isLoading() {
          return loading;
        }
    
        @Override
        public boolean isActive() {
          return !loading;
        }
    
        @Override
        public V waitForValue() {
          return get();
        }
    
        @Override
        public void notifyNewValue(V newValue) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          this.loading = loading;
        }
    
        @Override
        public boolean isLoading() {
          return loading;
        }
    
        @Override
        public boolean isActive() {
          return !loading;
        }
    
        @Override
        public V waitForValue() {
          return get();
        }
    
        @Override
        public void notifyNewValue(V newValue) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	lambdaMap := make(map[string][]madmin.TargetIDStatus)
    
    	for _, tgt := range globalEventNotifier.Targets() {
    		targetIDStatus := make(map[string]madmin.Status)
    		active, _ := tgt.IsActive()
    		targetID := tgt.ID()
    		if active {
    			targetIDStatus[targetID.ID] = madmin.Status{Status: string(madmin.ItemOnline)}
    		} else {
    			targetIDStatus[targetID.ID] = madmin.Status{Status: string(madmin.ItemOffline)}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. .github/workflows/stale-issues.yml

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ============================================================================
    
    name: Close inactive issues
    on:
      schedule:
        - cron: "30 1 * * *"
    
    permissions:
      contents: read
    
    jobs:
      close-issues:
        # Don't do this in forks
        if: github.repository == 'tensorflow/tensorflow'
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jun 26 15:41:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

            getActiveProfiles().forEach(this.activations::remove);
            activeProfileIds.forEach(this::activateOptionalProfile);
        }
    
        /**
         * Overwrites the inactive profiles based on a pre-Maven 4 "inactive profiles" list.
         * @param inactiveProfileIds A {@link List} of profile IDs that must be deactivated.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs_src/sql_databases_peewee/sql_app/models.py

    import peewee
    
    from .database import db
    
    
    class User(peewee.Model):
        email = peewee.CharField(unique=True, index=True)
        hashed_password = peewee.CharField()
        is_active = peewee.BooleanField(default=True)
    
        class Meta:
            database = db
    
    
    class Item(peewee.Model):
        title = peewee.CharField(index=True)
        description = peewee.CharField(index=True)
        owner = peewee.ForeignKeyField(User, backref="items")
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 465 bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

        }
    
        /**
         * @return Required inactive project selectors, never {@code null}.
         */
        public Set<String> getRequiredInactiveProjectSelectors() {
            return getProjectSelectors(pa -> !pa.optional && !pa.active);
        }
    
        /**
         * @return Optional inactive project selectors, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. .github/workflows/issue-manager.yml

                  },
                  "waiting": {
                    "delay": 2628000,
                    "message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR."
                  },
                  "invalid": {
                    "delay": 0,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 10:38:53 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Inactive user
    
    Now try with an inactive user, authenticate with:
    
    User: `alice`
    
    Password: `secret2`
    
    And try to use the operation `GET` with the path `/users/me`.
    
    You will get an "Inactive user" error, like:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Recap
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. docs_src/security/tutorial003_an.py

            )
        return user
    
    
    async def get_current_active_user(
        current_user: Annotated[User, Depends(get_current_user)],
    ):
        if current_user.disabled:
            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:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top