- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,083 for zeroed (0.05 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java
Model source = Model.newBuilder().artifactId("SOURCE").build(); Model merged = mavenMerger.merge(target, source, true, null); assertEquals( "SOURCE", merged.getArtifactId(), "Expected merged artifactId to be SOURCE but was " + merged.getArtifactId()); merged = mavenMerger.merge(target, source, false, null); assertEquals( "TARGET",Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 3.6K bytes - Click Count (0) -
docs_src/sql_databases/tutorial002_py310.py
offset: int = 0, limit: int = Query(default=100, le=100), ): heroes = session.exec(select(Hero).offset(offset).limit(limit)).all() return heroes @app.get("/heroes/{hero_id}", response_model=HeroPublic) def read_hero(hero_id: int, session: Session = Depends(get_session)): hero = session.get(Hero, hero_id) if not hero: raise HTTPException(status_code=404, detail="Hero not found") return heroCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 2.5K bytes - Click Count (0) -
docs_src/sql_databases/tutorial001_an_py310.py
create_db_and_tables() @app.post("/heroes/") def create_hero(hero: Hero, session: SessionDep) -> Hero: session.add(hero) session.commit() session.refresh(hero) return hero @app.get("/heroes/") def read_heroes( session: SessionDep, offset: int = 0, limit: Annotated[int, Query(le=100)] = 100, ) -> list[Hero]: heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 1.7K bytes - Click Count (0) -
cmd/tier-last-day-stats.go
func (l lastDayTierStats) merge(m lastDayTierStats) (merged lastDayTierStats) { cl := l.clone() cm := m.clone() if cl.UpdatedAt.After(cm.UpdatedAt) { cm.forwardTo(cl.UpdatedAt) merged.UpdatedAt = cl.UpdatedAt } else { cl.forwardTo(cm.UpdatedAt) merged.UpdatedAt = cm.UpdatedAt } for i := range cl.Bins { merged.Bins[i] = cl.Bins[i].add(cm.Bins[i]) } return merged }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 19 22:54:46 GMT 2024 - 2.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java
merged.put(key, element); } for (Repository element : recessive) { Object key = getRepositoryKey(element); if (!merged.containsKey(key)) { merged.put(key, element); } } target.setRepositories(new ArrayList<>(merged.values())); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 21.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
Properties merged = new Properties(); if (sourceDominant) { merged.putAll(target.getProperties()); putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY); } else { putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY); merged.putAll(target.getProperties()); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multiset.java
* @return the count of the element before the operation; possibly zero * @throws IllegalArgumentException if {@code count} is negative * @throws NullPointerException if {@code element} is null and this implementation does not permit * null elements. Note that if {@code count} is zero, the implementor may optionally return * zero instead. */ @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("toString uses hex authority when high bytes are non-zero") void testToStringHexAuthority() { byte[] ident = new byte[] { 1, 2, 3, 4, 5, 6 }; // high bytes non-zero -> hex representation SID sid = new SID(buildSidT((byte) 1, ident, 7, 8), jcifs.SID.SID_TYPE_USE_NONE, null, null, false);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/archive/tar/reader.go
if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil { return nil, nil, err // EOF is okay here; exactly 1 block of zeros read } if bytes.Equal(tr.blk[:], zeroBlock[:]) { return nil, nil, io.EOF // normal EOF; exactly 2 block of zeros read } return nil, nil, ErrHeader // Zero block and then non-zero block } // Verify the header matches a known format. format := tr.blk.getFormat()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0) -
src/archive/tar/strconv.go
} return int64(x) } func (f *formatter) formatOctal(b []byte, x int64) { if !fitsInOctal(len(b), x) { x = 0 // Last resort, just write zero f.err = ErrFieldTooLong } s := strconv.FormatInt(x, 8) // Add leading zeros, but leave room for a NUL. if n := len(b) - len(s) - 1; n > 0 { s = strings.Repeat("0", n) + s } f.formatString(b, s) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 9.1K bytes - Click Count (0)