Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 618 for switches (0.06 sec)

  1. cmd/metacache-entries.go

    func (m *metaCacheEntriesSorted) merge(other metaCacheEntriesSorted, limit int) {
    	merged := make(metaCacheEntries, 0, m.len()+other.len())
    	a := m.entries()
    	b := other.entries()
    	for len(a) > 0 && len(b) > 0 {
    		switch {
    		case a[0].name == b[0].name && bytes.Equal(a[0].metadata, b[0].metadata):
    			// Same, discard one.
    			merged = append(merged, a[0])
    			a = a[1:]
    			b = b[1:]
    		case a[0].name < b[0].name:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    		recover()
    		check(t, "TestReadFromPanicReader (2)", &buf2, "")
    	}()
    	buf2.ReadFrom(panicReader{panic: true})
    }
    
    func TestReadFromNegativeReader(t *testing.T) {
    	var b Buffer
    	defer func() {
    		switch err := recover().(type) {
    		case nil:
    			t.Fatal("bytes.Buffer.ReadFrom didn't panic")
    		case error:
    			// this is the error string of errNegativeRead
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/operand_test.go

    	for _, test := range tests {
    		err := tryParse(t, func() {
    			parser.start(lex.Tokenize(test.input))
    			addr := obj.Addr{}
    			parser.operand(&addr)
    		})
    
    		switch {
    		case err == nil:
    			t.Errorf("fail at %s: got no errors; expected %s\n", test.input, test.error)
    		case !strings.Contains(err.Error(), test.error):
    			t.Errorf("fail at %s: got %s; expected %s", test.input, err, test.error)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                    }
                    if (i < len && data[i] == '.') {
                        dots++;
                        i++;
                    }
                }
            } else {
                switch (hostName.hexCode) {
                case 0x1B:
                case 0x1C:
                case 0x1D:
                    calledName = SMBSERVER_NAME;
                }
            }
    
            return calledName;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  5. docs/en/docs/alternatives.md

    Nevertheless, it is already being used as a "standard" by several tools. This greatly improves interoperability, as you could switch Uvicorn for any other ASGI server (like Daphne or Hypercorn), or you could add ASGI compatible tools, like `python-socketio`.
    
    ///
    
    /// check | **FastAPI** uses it to
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.14.md

        * setting `KUBE_PROXY_DAEMONSET=true` in kube-up will now set a `node.kubernetes.io/kube-proxy-ds-ready=true` label on new nodes. In v1.16, the kube-proxy daemonset add-on will switch to using that label as a node selector.
        * In 1.16, the masq-agent daemonset add-on will switch to using `node.kubernetes.io/masq-agent-ds-ready` as a node selector.
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Mon Jun 14 22:06:39 UTC 2021
    - 271.5K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.20.md

      - build: Use go-runner:buster-v2.0.1 (built using go1.15.1)
      - bazel: Replace --features with Starlark build settings flag
      - hack/lib/util.sh: some bash cleanups
        
        - switched one spot to use kube::logging
        - make kube::util::find-binary return an error when it doesn't find
          anything so that hack scripts fail fast instead of with "binary not
          found errors".
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.27.md

    `Interrupted()` instead. If you are returning `ErrWaitTimeout` from your own methods, switch to creating a location specific `cause err` and pass it to the new method `wait.ErrorInterrupted(cause) error` which will ensure `Interrupted()` returns true for your loop. 
      
      The `wait.NewExponentialBackoffManager` and `wait.NewJitteringBackoffManager` functions have been marked as deprecated.  Callers should switch to using the `Backoff{...}.DelayWithReset(clock, resetInterval)` method and must...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jul 17 07:48:22 UTC 2024
    - 466.3K bytes
    - Viewed (2)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            return obj instanceof ServerMessageBlock && ((ServerMessageBlock) obj).mid == this.mid;
        }
    
        @Override
        public String toString() {
            String c = switch (this.command) {
            case SMB_COM_NEGOTIATE -> "SMB_COM_NEGOTIATE";
            case SMB_COM_SESSION_SETUP_ANDX -> "SMB_COM_SESSION_SETUP_ANDX";
            case SMB_COM_TREE_CONNECT_ANDX -> "SMB_COM_TREE_CONNECT_ANDX";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  10. docs/en/docs/async.md

    But as you go away from the counter and sit at the table with a number for your turn, you can switch 🔀 your attention to your crush, and "work" ⏯ 🤓 on that. Then you are again doing something very "productive" as is flirting with your crush 😍.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top