Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for technique (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go

    limitations under the License.
    */
    
    // Package queueset implements a technique called "fair queuing for
    // server requests".  One QueueSet is a set of queues operating
    // according to this technique.
    //
    // Fair queuing for server requests is inspired by the fair queuing
    // technique from the world of networking.  You can find a good paper
    // on that at https://dl.acm.org/citation.cfm?doid=75247.75248 or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 12:33:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/testing/slogtest/example_test.go

    // license that can be found in the LICENSE file.
    
    package slogtest_test
    
    import (
    	"bytes"
    	"encoding/json"
    	"log"
    	"log/slog"
    	"testing/slogtest"
    )
    
    // This example demonstrates one technique for testing a handler with this
    // package. The handler is given a [bytes.Buffer] to write to, and each line
    // of the resulting output is parsed.
    // For JSON output, [encoding/json.Unmarshal] produces a result in the desired
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 18:32:54 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/additional-responses.md

    You might want to have some predefined responses that apply to many *path operations*, but you want to combine them with custom responses needed by each *path operation*.
    
    For those cases, you can use the Python technique of "unpacking" a `dict` with `**dict_to_unpack`:
    
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. src/sort/example_interface_test.go

    		{"Jenny", 26},
    	}
    
    	fmt.Println(people)
    	// There are two ways to sort a slice. First, one can define
    	// a set of methods for the slice type, as with ByAge, and
    	// call sort.Sort. In this first example we use that technique.
    	sort.Sort(ByAge(people))
    	fmt.Println(people)
    
    	// The other way is to use sort.Slice with a custom Less
    	// function, which can be provided as a closure. In this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 24 14:40:37 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  5. samples/external/README.md

    Note that [this note](https://istio.io/docs/tasks/traffic-management/egress/#install-istio-with-access-to-all-external-services-by-default) shows how to configure Istio to contact services by default.  The technique
    discussed there does not allow HTTP on port 80 or SSH on port 22.  These examples will
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 27 18:28:55 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. docs/fr/docs/advanced/additional-responses.md

    Dans ces cas, vous pouvez utiliser la technique Python "d'affection par décomposition" (appelé _unpacking_ en anglais) d'un `dict` avec `**dict_to_unpack` :
    
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/sort/example_keys_test.go

    	return s.by(&s.planets[i], &s.planets[j])
    }
    
    var planets = []Planet{
    	{"Mercury", 0.055, 0.4},
    	{"Venus", 0.815, 0.7},
    	{"Earth", 1.0, 1.0},
    	{"Mars", 0.107, 1.5},
    }
    
    // ExampleSortKeys demonstrates a technique for sorting a struct type using programmable sort criteria.
    func Example_sortKeys() {
    	// Closures that order the Planet structure.
    	name := func(p1, p2 *Planet) bool {
    		return p1.name < p2.name
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:48:39 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/artifacts/repositories/MetadataSupplierAware.java

    /**
     * Interface for repositories which support custom metadata suppliers and/or version listers.
     * A custom version lister or metadata supplier can be used as an optimization technique to
     * avoid too many requests on a server. By providing such rules, a plugin or build author can
     * provide the necessary information to perform component selection without having to actually
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:14:42 UTC 2019
    - 3K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/idna/trieval.go

    // with the mapped string. Such mappings can consist of the actual mapped value
    // or an XOR pattern to be applied to the bytes of the UTF8 encoding of the
    // input rune. This technique is used by the cases packages and reduces the
    // table size significantly.
    //
    // The per-rune values have the following format:
    //
    //	if mapped {
    //	  if inlinedXOR {
    //	    15..13 inline XOR marker
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 04:45:15 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. maven-embedder/src/site/apt/logging.apt

    ~~ TODO document META-INF/maven/slf4j-configuration.properties
    
    * Getting Logger Instance
    
     Starting with Maven 3.1.0, SLF4J Logger can be used directly. This technique can be used safely in Maven core
     components or in plugins/component not requiring compatibility with previous Maven versions.
    
    +-----+
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    public class MyClass
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 21:09:43 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top