Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 192 for isActive (0.16 sec)

  1. guava/src/com/google/common/util/concurrent/Service.java

       * {@code A -> B}.
       *
       * @since 9.0 (in 1.0 as {@code com.google.common.base.Service.State})
       */
      enum State {
        /** A service in this state is inactive. It does minimal work and consumes minimal resources. */
        NEW,
    
        /** A service in this state is transitioning to {@link #RUNNING}. */
        STARTING,
    
        /** A service in this state is operational. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/security/simple-oauth2.md

    }
    ```
    
    ### 未激活用户
    
    测试未激活用户,输入以下信息,进行身份验证:
    
    用户名:`alice`
    
    密码:`secret2`
    
    然后,执行 `/users/me` 路径的 `GET` 操作。
    
    显示下列**未激活用户**错误信息:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## 小结
    
    使用本章的工具实现基于 `username` 和 `password` 的完整 API 安全系统。
    
    这些工具让安全系统兼容任何数据库、用户及数据模型。
    
    唯一欠缺的是,它仍然不是真的**安全**。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. src/internal/trace/testtrace/validation.go

    		case trace.EventRangeActive:
    			if !v.hasRange(r.Scope, r.Name) {
    				v.addRange(r.Scope, r.Name)
    			}
    		case trace.EventRangeEnd:
    			if !v.hasRange(r.Scope, r.Name) {
    				e.Errorf("inactive range %q on %v ended", r.Name, r.Scope)
    			}
    			v.deleteRange(r.Scope, r.Name)
    		}
    	case trace.EventTaskBegin:
    		// Validate task begin.
    		t := ev.Task()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    		}
    	}
    
    	// Assume we removed the containers so that we're not too aggressive.
    	return containers[:numToKeep]
    }
    
    // removeOldestNSandboxes removes the oldest inactive toRemove sandboxes and
    // returns the resulting slice.
    func (cgc *containerGC) removeOldestNSandboxes(ctx context.Context, sandboxes []sandboxGCInfo, toRemove int) {
    	numToKeep := len(sandboxes) - toRemove
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/plugin/noderesources.go

    //
    // If a kubeClient is provided, then it synchronizes ResourceSlices
    // with the resource information provided by plugins. Without it,
    // the controller is inactive. This can happen when kubelet is run stand-alone
    // without an apiserver. In that case we can't and don't need to publish
    // ResourceSlices.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/memorymanager/memory_manager.go

    	// for all containers a pod
    	containerMap containermap.ContainerMap
    
    	// sourcesReady provides the readiness of kubelet configuration sources such as apiserver update readiness.
    	// We use it to determine when we can purge inactive pods from checkpointed state.
    	sourcesReady config.SourcesReady
    
    	// stateFileDirectory holds the directory where the state file for checkpoints is held.
    	stateFileDirectory string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (1)
  7. pkg/kubelet/cm/cpumanager/cpu_manager.go

    	nodeAllocatableReservation v1.ResourceList
    
    	// sourcesReady provides the readiness of kubelet configuration sources such as apiserver update readiness.
    	// We use it to determine when we can purge inactive pods from checkpointed state.
    	sourcesReady config.SourcesReady
    
    	// stateFileDirectory holds the directory where the state file for checkpoints is held.
    	stateFileDirectory string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 19.9K bytes
    - Viewed (2)
  8. pkg/kubelet/pleg/generic.go

    func (g *GenericPLEG) updateCache(ctx context.Context, pod *kubecontainer.Pod, pid types.UID) (error, bool) {
    	if pod == nil {
    		// The pod is missing in the current relist. This means that
    		// the pod has no visible (active or inactive) containers.
    		klog.V(4).InfoS("PLEG: Delete status for pod", "podUID", string(pid))
    		g.cache.Delete(pid)
    		return nil, true
    	}
    
    	g.podCacheMutex.Lock()
    	defer g.podCacheMutex.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/manager.go

    	activePods ActivePodsFunc
    
    	// sourcesReady provides the readiness of kubelet configuration sources such as apiserver update readiness.
    	// We use it to determine when we can purge inactive pods from checkpointed state.
    	sourcesReady config.SourcesReady
    
    	// allDevices holds all the devices currently registered to the device manager
    	allDevices ResourceDeviceInstances
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testNativeMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("nativeMethod");
        assertTrue(invokable.isNative());
        assertTrue(invokable.isPackagePrivate());
      }
    
      public void testSynchronizedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("synchronizedMethod");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.8K bytes
    - Viewed (0)
Back to top