Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 587 for Both (0.03 sec)

  1. cmd/net.go

    		// If empty host means it is localhost
    		addr2Local = true
    	} else if addr2Local, err = isLocalHost(host2, port2, port2); err != nil {
    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	// If both of addresses point to the same machine, check if
    	// have the same port
    	if addr1Local && addr2Local {
    		if port1 == port2 {
    			return true, nil
    		}
    	}
    	return false, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate_test.go

    		if err != nil {
    			t.Fatalf("could not parse webhook from generated YAML: %s", webhookYAML)
    		}
    		wh := whObject.(*admitv1.MutatingWebhookConfiguration)
    
    		// expect both namespace.sidecar-injector.istio.io and object.sidecar-injector.istio.io webhooks
    		if len(wh.Webhooks) != tc.numWebhooks {
    			t.Errorf("expected %d webhook(s) in MutatingWebhookConfiguration, found %d",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    {!> ../../docs_src/python_types/tutorial008b_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial008b.py!}
    ```
    
    ////
    
    In both cases this means that `item` could be an `int` or a `str`.
    
    #### Possibly `None`
    
    You can declare that a value could have a type, like `str`, but that it could also be `None`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

           * A note on exception types:
           *
           * Android API level 10 throws ExceptionInInitializerError the first time and
           * ClassNotFoundException thereafter.
           *
           * Android API level 26 and JVM8 both let our Error propagate directly the first time and
           * throw NoClassDefFoundError thereafter. This is the proper behavior according to the spec.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypesTest.java

            .asList()
            .containsExactlyElementsIn(asList(expected.getBounds()))
            .inOrder();
      }
    
      /**
       * Working with arrays requires defensive code. Verify that we clone the type array for both input
       * and output.
       */
      public void testNewParameterizedTypeImmutability() {
        Type[] typesIn = {String.class, Integer.class};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypesTest.java

            .asList()
            .containsExactlyElementsIn(asList(expected.getBounds()))
            .inOrder();
      }
    
      /**
       * Working with arrays requires defensive code. Verify that we clone the type array for both input
       * and output.
       */
      public void testNewParameterizedTypeImmutability() {
        Type[] typesIn = {String.class, Integer.class};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharStreams.java

    /**
     * Provides utility methods for working with character streams.
     *
     * <p>Some of the methods in this class take arguments with a generic type of {@code Readable &
     * Closeable}. A {@link java.io.Reader} implements both of those interfaces. Similarly for {@code
     * Appendable & Closeable} and {@link java.io.Writer}.
     *
     * @author Chris Nokleberg
     * @author Bin Zhu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ACE.java

     * <tt>WNET\alice</tt> is in the local <tt>Administrators</tt> group the access check
     * will succeed because the inherited ACE allows local <tt>Administrators</tt>
     * both <tt>FILE_READ_DATA</tt> and <tt>FILE_WRITE_DATA</tt> access.
     */
    
    public class ACE {
    
        public static final int FILE_READ_DATA        = 0x00000001; // 1
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/ImmutableValueGraph.java

         * undirected.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered.
         *
         * <p>Values do not have to be unique. However, values must be non-null.
         *
         * <p>If either or both endpoints are not already present in this graph, this method will
         * silently {@link #addNode(Object) add} each missing endpoint to the graph.
         *
         * @return this {@code Builder} object
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

         * undirected.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered.
         *
         * <p>Values do not have to be unique. However, values must be non-null.
         *
         * <p>If either or both endpoints are not already present in this graph, this method will
         * silently {@link #addNode(Object) add} each missing endpoint to the graph.
         *
         * @return this {@code Builder} object
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top