Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 111 for Closest (0.26 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    Imagine that you want the parameter to be `item-query`.
    
    Like in:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    But `item-query` is not a valid Python variable name.
    
    The closest would be `item_query`.
    
    But you still need it to be exactly `item-query`...
    
    Then you can declare an `alias`, and that alias is what will be used to find the parameter value:
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/container_manager_linux.go

    	// for example, the cgroup for the user session will be something like /user.slice/user-X.slice/session-X.scope, but the cpu and memory
    	// cgroup will be the closest ancestor where accounting is performed (most likely /) on systems that launch docker containers.
    	// as a result, on those systems, you will not get cpu or memory accounting statistics for kubelet.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. cluster/gce/gci/configure-helper.sh

      local devel=""
      if [[ "${gitref}" != "${version}" ]]; then
        devel="
    Note: This looks like a development version, which might not be present on GitHub.
    If it isn't, the closest tag is at:
      https://github.com/kubernetes/kubernetes/tree/${gitref}
    "
        gitref="${version//*+/}"
      fi
      cat > /etc/motd <<EOF
    
    Welcome to Kubernetes ${version}!
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  4. src/database/sql/sql_test.go

    	waitCondition(t, func() bool {
    		driver.mu.Lock()
    		opens = driver.openCount - opens0
    		closes = driver.closeCount - closes0
    		driver.mu.Unlock()
    
    		return closes == 1
    	})
    
    	if opens != 3 {
    		t.Errorf("opens = %d; want 3", opens)
    	}
    	if closes != 1 {
    		t.Errorf("closes = %d; want 1", closes)
    	}
    
    	if s := db.Stats(); s.MaxLifetimeClosed != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    refixer currently does not support line names. Try using grid-template-areas instead.",{node:f,word:"["});if(m.includes("radial-gradient"))if(iA.test(f.value))t.warn("Gradient has outdated direction syntax. New syntax is like `closest-side at 0 0` instead of `0 0, closest-side`.",{node:f});else{let x=Km(m);for(let y of x.nodes)if(y.type==="function"&&y.value==="radial-gradient")for(let w of y.nodes)w.type==="word"&&(w.value==="cover"?t.warn("Gradient has outdated direction syntax. Replace `cover`...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  6. subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistryTest.groovy

            def homeDirService = services.get(SomeHomeDirService)
            homeDirServices.release(services)
    
            expect:
            !homeDirService.closed
        }
    
        def "closes and recreates services when home dir is different to last use"() {
            def dir1 = new File("home-dir-1")
            def dir2 = new File("home-dir-2")
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/loong64/a.out.go

    	ALAST
    
    	// aliases
    	AJMP = obj.AJMP
    	AJAL = obj.ACALL
    	ARET = obj.ARET
    )
    
    func init() {
    	// The asm encoder generally assumes that the lowest 5 bits of the
    	// REG_XX constants match the machine instruction encoding, i.e.
    	// the lowest 5 bits is the register number.
    	// Check this here.
    	if REG_R0%32 != 0 {
    		panic("REG_R0 is not a multiple of 32")
    	}
    	if REG_F0%32 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java

     * <li>The client sends a {@link Finished} message once it has received the {@link Result} message.
     *     It may no longer send any messages.</li>
     * <li>The client closes the connection.</li>
     * <li>The daemon closes the connection once it has received the {@link Finished} message.</li>
     * </ul>
     *
     * <p>To stop a daemon:</p>
     *
     * <ul>
     * <li>The client creates a connection to daemon.</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/internal/trace/gc.go

    	c.mmu(window, &acc)
    	return acc.mmu
    }
    
    // Examples returns n specific examples of the lowest mutator
    // utilization for the given window size. The returned windows will be
    // disjoint (otherwise there would be a huge number of
    // mostly-overlapping windows at the single lowest point). There are
    // no guarantees on which set of disjoint windows this returns.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. internal/ioutil/ioutil.go

    // to the peer.
    type WriteOnCloser struct {
    	io.Writer
    	hasWritten bool
    }
    
    func (w *WriteOnCloser) Write(p []byte) (int, error) {
    	w.hasWritten = true
    	return w.Writer.Write(p)
    }
    
    // Close closes the WriteOnCloser. It behaves like io.Closer.
    func (w *WriteOnCloser) Close() error {
    	if !w.hasWritten {
    		_, err := w.Write(nil)
    		if err != nil {
    			return err
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top