Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 1,003 for zeroed (0.12 seconds)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        }
    
        @Test
        @DisplayName("Test getCapacity with zero values")
        void testGetCapacityWithZeroValues() throws SMBProtocolDecodingException {
            // Prepare test data with zeros
            byte[] buffer = new byte[22];
    
            // All zeros
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = 0;
            }
    
            // Decode
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. docs_src/sql_databases/tutorial001_py310.py

    ) -> list[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    def read_hero(hero_id: int, session: Session = Depends(get_session)) -> Hero:
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        return hero
    
    
    @app.delete("/heroes/{hero_id}")
    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)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            byte[] buffer = new byte[100];
            // Initialize buffer with zeros to avoid random data
            java.util.Arrays.fill(buffer, (byte) 0);
    
            // Set dataCount to 0 - but decode still runs
            setDataCount(response, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  4. cmd/xl-storage-format-v2_test.go

    				}
    				vMod = append(vMod, newVers)
    			}
    			merged := mergeXLV2Versions(i, true, 0, vMod...)
    			if len(merged) == 0 && i < 2 {
    				t.Error("Did not get any results")
    				return
    			}
    			if len(merged) > 0 && i >= 2 {
    				t.Error("Got unexpected results", len(merged), merged[0].header)
    				return
    			}
    			for _, ver := range merged {
    				if ver.header.Type == invalidVersionType {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  5. 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.
       */
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

        }
    
        @Test
        @DisplayName("Should write zeros for reserved field")
        void testReservedFieldIsZero() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
            byte[] buffer = new byte[256];
            // Fill with non-zero values first
            for (int i = 0; i < buffer.length; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                assertEquals(length, SMBUtil.readInt4(buffer, startIndex + 16));
    
                // Verify reserved bytes are zeros
                for (int i = 0; i < RESERVED_BYTES; i++) {
                    assertEquals(0, buffer[startIndex + 20 + i]);
                }
            }
    
            @Test
            @DisplayName("Should encode zero values correctly")
            void testEncodeZeroValues() {
                // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. .teamcity/scripts/CheckBadMerge.java

     *
     * When merging `releaseX` branch into `master`, we should only use the release note from the `master` branch,
     * but sometimes changes on release notes.md was brought to master and merged unnoticed,
     * e.g https://github.com/gradle/gradle/pull/25825
     *
     * This script is to check if there is any merge commit that brings changes from release branch to master.
     *
     * Usage (Java 11+ single-file source execution):
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

                        PluginExecution existing = merged.get(key);
                        if (existing != null) {
                            mergePluginExecution(element, existing, sourceDominant, context);
                        }
                        merged.put(key, element);
                    }
    
                    target.setExecutions(new ArrayList<>(merged.values()));
                }
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

            Properties merged = new Properties();
            if (sourceDominant) {
                merged.putAll(target.getProperties());
                merged.putAll(source.getProperties());
            } else {
                merged.putAll(source.getProperties());
                merged.putAll(target.getProperties());
            }
            target.setProperties(merged);
            target.setLocation(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
Back to Top