Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 864 for Hero (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

            verify(mockAllocInfo, times(1)).getCapacity();
            verify(mockAllocInfo, times(1)).getFree();
        }
    
        /**
         * Parameterised test of capacity values, including edge cases such as
         * zero and negative capacities.
         */
        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, Long.MAX_VALUE })
        @DisplayName("capacity may be any long value")
        void testCapacityEdgeValues(long capacity) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertNotNull(configWithDefaults.getNativeOs());
            assertTrue(configWithDefaults.getFlags2() != 0, "Flags2 should be non-zero");
            assertTrue(configWithDefaults.getCapabilities() != 0, "Capabilities should be non-zero");
            assertNotNull(configWithDefaults.getBroadcastAddress());
            assertNotNull(configWithDefaults.getResolveOrder());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            }
        }
    
        // --- Server-side copy path (SMB2 + same tree) for zero-length files ---
    
        @Test
        @DisplayName("copyFile uses server-side copy for zero-length and returns")
        void copyFile_serverSide_zeroLength_happyPath() throws Exception {
            // Arrange
            SmbFile src = mock(SmbFile.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

            @Test
            @DisplayName("Should skip reserved bytes without modification")
            void testEncodeReservedBytes() {
                // Given
                Arrays.fill(buffer, (byte) 0xFF); // Fill with non-zero
                SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey);
    
                // When
                copy.encode(buffer, startIndex);
    
                // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. cmd/copy-part-range.go

    		return
    	}
    }
    
    // Parses x-amz-copy-source-range for CopyObjectPart API. Its behavior
    // is different from regular HTTP range header. It only supports the
    // form `bytes=first-last` where first and last are zero-based byte
    // offsets. See
    // http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html
    // for full details. This function treats an empty rangeString as
    // referring to the whole resource.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jun 18 03:27:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. docs/debugging/xattr/main.go

    	flag.BoolVar(&set, "set", false, "this is a set attribute operation")
    
    	flag.Parse()
    
    	if set && value == 0 {
    		log.Fatalln("setting an attribute requires a non-zero value")
    	}
    
    	if !set && value > 0 {
    		log.Fatalln("to set a value please specify --set along with --value")
    	}
    
    	table := tablewriter.NewWriter(os.Stdout)
    	table.SetHeader([]string{"Name", "Value"})
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            this.setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if ((this.setupCount != 0) && log.isDebugEnabled()) {
                log.debug("setupCount is not zero: " + this.setupCount);
            }
    
            return bufferIndex - start;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertEquals(0x03, context.getHashAlgos()[2]);
                assertArrayEquals(salt, context.getSalt());
            }
    
            @Test
            @DisplayName("Should decode zero hash algorithms and zero salt")
            void testDecodeZeroHashAlgosAndSalt() throws SMBProtocolDecodingException {
                SMBUtil.writeInt2(0, buffer, 0);
                SMBUtil.writeInt2(0, buffer, 2);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            void testGetResultSuccess() {
                message.result = 0;
                assertNull(message.getResult());
            }
    
            @Test
            @DisplayName("getResult should return DcerpcException for non-zero result")
            void testGetResultError() {
                message.result = 123; // Example error code
                DcerpcException exception = message.getResult();
                assertNotNull(exception);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/encoder.md

    /// note | Nota
    
    `jsonable_encoder` es utilizado internamente por **FastAPI** para convertir datos. Pero es Ăștil en muchos otros escenarios.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top