Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for enumerate (0.19 sec)

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

            while (tg.getParent() == null) {
                tg = tg.getParent();
            }
    
            ThreadGroup[] tgList = new ThreadGroup[tg.activeGroupCount()];
            tg.enumerate(tgList);
    
            boolean seen = false;
    
            for (ThreadGroup aTgList : tgList) {
                if (!aTgList.getName().equals(DefaultArtifactResolver.DaemonThreadCreator.THREADGROUP_NAME)) {
                    continue;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/path-params.md

    Você pode comparar eles com o *membro de enumeration* no enum `ModelName` que você criou:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Obtenha o *valor de enumerate*
    
    Você pode ter o valor exato de enumerate (um `str` nesse caso) usando `model_name.value`, ou em geral, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip | "Dica"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Enumeration<Integer> enumer = enumerate();
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
        assertFalse(iter.hasNext());
        assertThrows(NoSuchElementException.class, () -> iter.next());
      }
    
      @SuppressWarnings("DoNotCall")
      public void testForEnumerationSingleton() {
        Enumeration<Integer> enumer = enumerate(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/EnumTest.java

            try ( SmbFile smbFile = new SmbFile("smb://" + getRequiredProperty(TestProperties.TEST_DOMAIN_SHORT), ctx) ) {
                // if domain is resolved through DNS this will be treated as a server and will enumerate shares instead
                Assume.assumeTrue("Not workgroup", SmbConstants.TYPE_WORKGROUP == smbFile.getType());
                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val route = selection.next()
        assertRoute(route, address, proxyA, dns.lookup(PROXY_A_HOST, 0), PROXY_A_PORT)
        routeDatabase.failed(route)
        routeSelector = newRouteSelector(address)
    
        // Confirm we enumerate both proxies, giving preference to the route from ProxyB.
        val selection2 = routeSelector.next()
        dns.assertRequests(PROXY_A_HOST, PROXY_B_HOST)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Enumeration<Integer> enumer = enumerate();
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
        assertFalse(iter.hasNext());
        assertThrows(NoSuchElementException.class, () -> iter.next());
      }
    
      @SuppressWarnings("DoNotCall")
      public void testForEnumerationSingleton() {
        Enumeration<Integer> enumer = enumerate(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                searchAttributes = dff.attributes;
            }
            SmbResourceLocator locator = parent.getLocator();
            if ( locator.getURL().getHost().isEmpty() ) {
                // smb:// -> enumerate servers through browsing
                Address addr;
                try {
                    addr = locator.getAddress();
                }
                catch ( CIFSException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

          )
        factory.newConnection(pool, routeA1)
        assertThat(realTaskRunner.activeQueues()).isNotEmpty()
        Thread.sleep(100)
        val threads = arrayOfNulls<Thread>(Thread.activeCount() * 2)
        Thread.enumerate(threads)
        for (t in threads) {
          if (t != null && t.name == "OkHttp TaskRunner") {
            t.interrupt()
          }
        }
        Thread.sleep(100)
        assertThat(realTaskRunner.activeQueues()).isEmpty()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      repeated string verbs = 1;
    
      // APIGroups is the name of the APIGroup that contains the resources.  If multiple API groups are specified, any action requested against one of
      // the enumerated resources in any API group will be allowed.  "*" means all.
      // +optional
      repeated string apiGroups = 2;
    
      // Resources is a list of resources this rule applies to.  "*" means all in the specified apiGroups.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/authorization/v1/generated.proto

      repeated string verbs = 1;
    
      // APIGroups is the name of the APIGroup that contains the resources.  If multiple API groups are specified, any action requested against one of
      // the enumerated resources in any API group will be allowed.  "*" means all.
      // +optional
      repeated string apiGroups = 2;
    
      // Resources is a list of resources this rule applies to.  "*" means all in the specified apiGroups.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top