Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for enumerate (0.07 sec)

  1. cni/pkg/repair/netns_unspecified.go

    func runInHost[T any](f func() (T, error)) (T, error) {
    	panic("not implemented")
    	// return f()
    }
    
    // getPodNetNs returns the network namespace of the pod.
    // On windows, we can look at the pod ip address and enumerate all of the
    // networks to find the one that corresponds with this pod. From there,
    // we return the network namespace guid.
    func getPodNetNs(pod *corev1.Pod) (string, error) {
    	panic("not implemented")
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-03-03 21:55
    - 1.1K 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:
    
    {* ../../docs_src/path_params/tutorial005.py hl[17] *}
    
    #### 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`:
    
    {* ../../docs_src/path_params/tutorial005.py hl[20] *}
    
    /// tip | Dica
    
    
    
    ///
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 9.6K 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: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 54.5K 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: 2025-05-25 00:10
    - Last Modified: 2023-01-05 13:09
    - 25.5K bytes
    - Viewed (0)
  5. 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: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 54.5K bytes
    - Viewed (0)
  6. 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: 2025-05-25 00:10
    - Last Modified: 2019-07-20 08:41
    - 12.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/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: 2025-05-30 11:42
    - Last Modified: 2025-03-19 19:25
    - 20.8K bytes
    - Viewed (0)
  8. 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: 2025-05-28 22:53
    - Last Modified: 2024-03-11 18:43
    - 11.9K bytes
    - Viewed (0)
  9. docs/id/docs/tutorial/path-params.md

    ### Bekerja dengan *enumarasi* Python
    
    Nilai *parameter path* akan menjadi *anggota enumerasi*.
    
    #### Membandingkan *anggota enumerasi*
    
    Anda bisa membandingkan parameter *path* dengan *anggota enumerasi* di enum `ModelName` yang anda buat:
    
    {* ../../docs_src/path_params/tutorial005.py hl[17] *}
    
    #### Mendapatkan *nilai enumerasi*
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-12-24 16:16
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenTarg.java

                    tagged = (ASN1TaggedObject) fields.nextElement();
                    switch ( tagged.getTagNo() ) {
                    case 0:
                        ASN1Enumerated enumerated = ASN1Enumerated.getInstance(tagged, true);
                        setResult(enumerated.getValue().intValue());
                        break;
                    case 1:
                        setMechanism(ASN1ObjectIdentifier.getInstance(tagged, true));
    Registered: 2025-05-25 00:10
    - Last Modified: 2021-01-04 04:18
    - 5.4K bytes
    - Viewed (0)
Back to top