Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1701 - 1710 of 2,878 for int3 (0.05 sec)

  1. clause/set_test.go

    	})
    
    	assignments := []clause.Assignment(set)
    
    	sort.Slice(assignments, func(i, j int) bool {
    		return strings.Compare(assignments[i].Column.Name, assignments[j].Column.Name) > 0
    	})
    
    	if len(assignments) != 2 || assignments[0].Column.Name != "name" || assignments[0].Value.(string) != "jinzhu" || assignments[1].Column.Name != "age" || assignments[1].Value.(int) != 18 {
    		t.Errorf("invalid assignments, got %v", assignments)
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.java

        public String getName() {
            return "IntegrationTestFixtures";
        }
    
        @Override
        public int getPriority() {
            return 1;
        }
    
        @Override
        public void setName(String name) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public void setPriority(int priority) {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. docs_src/body_multiple_params/tutorial001_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str | None = None,
        item: Item | None = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if item:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 546 bytes
    - Viewed (0)
  4. .github/workflows/vulncheck.yml

        branches:
          - master
    
    permissions:
      contents: read # to fetch code (actions/checkout)
    
    jobs:
      vulncheck:
        name: Analysis
        runs-on: ubuntu-latest
        steps:
          - name: Check out code into the Go module directory
            uses: actions/checkout@v4
          - name: Set up Go
            uses: actions/setup-go@v5
            with:
              go-version: 1.22.7
          - name: Get official govulncheck
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 22:53:34 UTC 2024
    - 658 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      private static Object objectWithHashCode(final int hashCode) {
        return new Object() {
          @Override
          public int hashCode() {
            return hashCode;
          }
        };
      }
    
      // TODO b/327389044 - `Set<? extends Object> elements` should be enough but J2KT needs the <E>
      private static <E> void assertPowerSetHashCode(int expected, Set<E> elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.equals(o);
        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.hashCode();
        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.size();
        }
    
        @Override
        public boolean isEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

            final List<AnalyzeToken> tokens = analyzer.analyze(text, "", null);
            final List<AnalyzeToken> readingTokens = analyzer.analyzeAndReading(text, "", null);
    
            int matchCount = 0;
            for (int i = 0; i < tokens.size(); i++) {
                final String term = tokens.get(i).getTerm();
                final String reading = readingTokens.get(i).getTerm();
                switch (term) {
                case "fess":
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. docs_src/schema_extra_example/tutorial001_py310.py

                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
            }
        }
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 646 bytes
    - Viewed (0)
  9. docs_src/schema_extra_example/tutorial004_an.py

    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 01 16:43:29 UTC 2023
    - 965 bytes
    - Viewed (0)
  10. docs_src/additional_status_codes/tutorial001_py310.py

    items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}}
    
    
    @app.put("/items/{item_id}")
    async def upsert_item(
        item_id: str,
        name: str | None = Body(default=None),
        size: int | None = Body(default=None),
    ):
        if item_id in items:
            item = items[item_id]
            item["name"] = name
            item["size"] = size
            return item
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 646 bytes
    - Viewed (0)
Back to top