Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 582 for bark (0.37 seconds)

  1. docs/smb3-features/05-rdma-smb-direct-design.md

                    return new RdmaTransport(context, address, provider);
                } catch (IOException e) {
                    log.warn("Failed to create RDMA transport, falling back to TCP", e);
                }
            }
        }
        
        // Fall back to TCP
        return new SmbTransport(context, address.getAddress(), address.getPort());
    }
    
    private RdmaProvider selectRdmaProvider() {
        // Try providers in order of preference
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body_updates/test_tutorial001.py

            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
            "price": 3,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_openapi_schema(client: TestClient):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  3. cmd/erasure-common.go

    			mu.Unlock()
    		}()
    	}
    	wg.Wait()
    	return newDisks
    }
    
    func (er erasureObjects) getOnlineLocalDisks() (newDisks []StorageAPI) {
    	disks := er.getOnlineDisks()
    
    	// Based on the random shuffling return back randomized disks.
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	for _, i := range r.Perm(len(disks)) {
    		if disks[i] != nil && disks[i].IsLocal() {
    			newDisks = append(newDisks, disks[i])
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/ConsoleIcon.java

            this.asciiFallback = asciiFallback;
        }
    
        /**
         * Returns the appropriate icon representation for the given terminal.
         * Tests if the terminal's charset can encode the Unicode character,
         * falling back to ASCII if not.
         *
         * @param terminal the terminal to get the icon for
         * @return the Unicode character if supported, otherwise the ASCII fallback
         */
        public String getIcon(Terminal terminal) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body_updates/test_tutorial002.py

            "tax": 10.5,
            "tags": ["tag1", "tag2"],
        }
    
    
    def test_patch_name(client: TestClient):
        response = client.patch(
            "/items/bar",
            json={"name": "Barz"},
        )
        assert response.json() == {
            "name": "Barz",
            "description": "The bartenders",
            "price": 62,
            "tax": 20.2,
            "tags": [],
        }
    
    
    def test_openapi_schema(client: TestClient):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  6. mkdocs.yml

      palette:
        - media: "(prefers-color-scheme: light)"
          scheme: default
          primary: teal
          accent: blue
          toggle:
            icon: octicons/sun-24
            name: "Switch to Dark Mode"
        - media: "(prefers-color-scheme: dark)"
          scheme: slate
          primary: teal
          accent: blue
          toggle:
            icon: octicons/moon-24
            name: "Switch to Light Mode"
      features:
      - navigation.tabs
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Nov 21 07:19:31 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  7. fastapi/.agents/skills/fastapi/references/dependencies.md

    ## Dependencies with `yield` and `scope`
    
    When using dependencies with `yield`, they can have a `scope` that defines when the exit code is run.
    
    Use the default scope `"request"` to run the exit code after the response is sent back.
    
    ```python
    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    def get_db():
        db = DBSession()
        try:
            yield db
        finally:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  8. docs_src/response_cookies/tutorial001_py310.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    
    @app.post("/cookie/")
    def create_cookie():
        content = {"message": "Come to the dark side, we have cookies"}
        response = JSONResponse(content=content)
        response.set_cookie(key="fakesession", value="fake-cookie-session-value")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 344 bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

            session.addUserMessage("User 3");
            session.addAssistantMessage("Assistant 3");
            assertEquals(6, session.getMessageCount());
    
            // Trimming to 3 would start at index 3 (assistant), so it should go back to index 2 (user)
            session.trimHistory(3);
    
            final List<ChatMessage> messages = session.getMessages();
            assertEquals(4, messages.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  10. tests/prepared_stmt_test.go

    )
    
    func TestPreparedStmt(t *testing.T) {
    	tx := DB.Session(&gorm.Session{PrepareStmt: true})
    
    	if _, ok := tx.ConnPool.(*gorm.PreparedStmtDB); !ok {
    		t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode")
    	}
    
    	ctx, cancel := context.WithTimeout(context.Background(), 500*time.Millisecond)
    	defer cancel()
    	txCtx := tx.WithContext(ctx)
    
    	user := *GetUser("prepared_stmt", Config{})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top