Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 147 for convenient (0.22 sec)

  1. pkg/config/analysis/analyzers/deployment/services.go

    	pm := targetPortMap{}
    	for _, swn := range svcs {
    		svc := swn.Spec
    		for _, sPort := range svc.Ports {
    			p := sPort.TargetPort.String()
    			if p == "0" || p == "" {
    				// By default and for convenience, the targetPort is set to the same value as the port field.
    				p = strconv.Itoa(int(sPort.Port))
    			}
    			if _, ok := pm[p]; !ok {
    				pm[p] = map[int32]string{}
    			}
    			pm[p][sPort.Port] = swn.Name
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand.go

    	for i := n - 1; i > 0; i-- {
    		j := int(r.uint64n(uint64(i + 1)))
    		swap(i, j)
    	}
    }
    
    /*
     * Top-level convenience functions
     */
    
    // globalRand is the source of random numbers for the top-level
    // convenience functions.
    var globalRand = &Rand{src: runtimeSource{}}
    
    //go:linkname runtime_rand runtime.rand
    func runtime_rand() uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/CompileOptions.java

        }
    
        /**
         * Convenience method to set {@link ForkOptions} with named parameter syntax.
         * Calling this method will set {@code fork} to {@code true}.
         */
        public CompileOptions fork(Map<String, Object> forkArgs) {
            fork = true;
            forkOptions.define(forkArgs);
            return this;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    !!! note "Technical Details"
        You could also use `from starlette.testclient import TestClient`.
    
        **FastAPI** provides the same `starlette.testclient` as `fastapi.testclient` just as a convenience for you, the developer. But it comes directly from Starlette.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/websockets.md

    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.websockets import WebSocket`.
    
        **FastAPI** provides the same `WebSocket` directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ## Await for messages and send messages
    
    In your WebSocket route you can `await` for messages and send messages.
    
    ```Python hl_lines="48-52"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

      auto transpose_op = dyn_cast_or_null<TransposeOp>(op);
      return success(transpose_op != nullptr && transpose_op.getPermutation() ==
                                                    ArrayRef<int64_t>(permutation));
    }
    
    // Convenience function to create a `TransposeOp` with a given `permutation`.
    // The Location is set as `input`'s loc.
    TransposeOp CreateTransposeOp(Value input, const ArrayRef<int64_t> permutation,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/format.go

    // 	 - `dns1123SubdomainPrefix`
    // 	 - `dns1035LabelPrefix`
    // 	 - `labelValue`
    // 	 - `uri`
    // 	 - `uuid`
    // 	 - `byte`
    // 	 - `date`
    // 	 - `datetime`
    //
    // format.<formatName>() -> Format
    //
    //  Convenience functions for all the named formats are also available
    //
    //  Examples:
    //      format.dns1123Label().validate("my-label-name")
    //      format.dns1123Subdomain().validate("apiextensions.k8s.io")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. CREDITS

    a computer network, with no transfer of a copy, is not conveying.
    
      An interactive user interface displays "Appropriate Legal Notices"
    to the extent that it includes a convenient and prominently visible
    feature that (1) displays an appropriate copyright notice, and (2)
    tells the user that there is no warranty for the work (except to the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 15:34:20 UTC 2024
    - 1.7M bytes
    - Viewed (0)
  9. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientHelper.java

    import java.util.List;
    import java.util.concurrent.ConcurrentLinkedQueue;
    
    import static java.lang.String.join;
    import static org.apache.http.client.protocol.HttpClientContext.REDIRECT_LOCATIONS;
    
    /**
     * Provides some convenience and unified logging.
     */
    public class HttpClientHelper implements Closeable {
    
        private static final Logger LOGGER = LoggerFactory.getLogger(HttpClientHelper.class);
        private CloseableHttpClient client;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. src/internal/reflectlite/type.go

    // The (*rtype).nameOff method is a convenience wrapper for this function.
    // Implemented in the runtime package.
    //
    //go:noescape
    func resolveNameOff(ptrInModule unsafe.Pointer, off int32) unsafe.Pointer
    
    // resolveTypeOff resolves an *rtype offset from a base type.
    // The (*rtype).typeOff method is a convenience wrapper for this function.
    // Implemented in the runtime package.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top