Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 662 for propre (0.08 seconds)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Security-focused test cases for Smb2NegotiateResponse input validation.
     * Tests various malformed input scenarios to ensure proper validation and
     * protection against buffer overflow, integer overflow, and other attacks.
     */
    public class Smb2NegotiateResponseInputValidationTest {
    
        private Configuration mockConfig;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         */
        int getValidationLevel();
    
        /**
         * Sets the level of validation to perform on processed models. For building of projects,
         * {@link #VALIDATION_LEVEL_STRICT} should be used to ensure proper building. For the mere retrieval of dependencies
         * during artifact resolution, {@link #VALIDATION_LEVEL_MINIMAL} should be used to account for models of poor
         * quality. By default, models are validated in strict mode.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse);
            when(mockWriteResponse.getCount()).thenReturn(10, 5); // Return proper byte counts
    
            outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle,
                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA,
    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)
  4. src/test/java/jcifs/util/PathValidatorTest.java

            assertThrows(SmbException.class, () -> {
                // Control character will be caught in strict mode
                strictValidator.validatePath("//server\u0001/share");
            });
    
            // Note: Proper UNC validation would require fixing the normalization to preserve \\
            // for UNC paths. Current implementation can't distinguish UNC paths after normalization.
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  5. maven-tests/mvnw

    fi
    
    case "${distributionUrl-}" in
    *?-bin.zip | *?maven-mvnd-?*-?*.zip) ;;
    *) die "distributionUrl is not valid, must match *-bin.zip or maven-mvnd-*.zip, but found '${distributionUrl-}'" ;;
    esac
    
    # prepare tmp dir
    if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then
      clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; }
      trap clean HUP INT TERM EXIT
    else
      die "cannot create temp dir"
    fi
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("Should align to 8-byte boundary")
            void testPaddingAlignment() {
                // Test various name lengths to ensure proper padding
                for (int nameLen = 1; nameLen <= 32; nameLen++) {
                    byte[] name = new byte[nameLen];
                    Arrays.fill(name, (byte) 'A');
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        void testReadDataWireFormatBufferIndexCalculation() throws Exception {
            byte[] buffer = createValidSecurityDescriptorBuffer();
            int startIndex = 10;
    
            // Prepare buffer with offset
            byte[] fullBuffer = new byte[buffer.length + startIndex];
            System.arraycopy(buffer, 0, fullBuffer, startIndex, buffer.length);
    
            setErrorCode(response, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            }
    
            @Test
            @DisplayName("Should handle binding URLs without endpoints correctly")
            void testParseBindingWithoutEndpoint() {
                // When/Then: URLs without proper endpoints should fail
                assertThrows(DcerpcException.class, () -> DcerpcHandle.parseBinding("ncacn_np:server"));
            }
        }
    
        @Nested
        @DisplayName("Constructor Tests")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  9. apache-maven/src/assembly/maven/bin/mvn.cmd

    rem Use Java source-launch mode (JDK 11+) to parse jvm.config
    rem This avoids batch script parsing issues with special characters (pipes, quotes, @, etc.)
    rem Use temp file approach with cmd /c to ensure proper file handle release
    
    set "JVM_CONFIG_TEMP=%TEMP%\mvn-jvm-config-%RANDOM%-%RANDOM%.txt"
    
    rem Debug logging (set MAVEN_DEBUG_SCRIPT=1 to enable)
    if defined MAVEN_DEBUG_SCRIPT (
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 10.7K bytes
    - Click Count (3)
  10. cmd/metrics-v3.go

    			)
    		}
    		mg.SetCache(metricsCache)
    		if mg.IsBucketMetricsGroup() {
    			bucketMGMap[mg.CollectorPath] = mg
    		} else {
    			mgMap[mg.CollectorPath] = mg
    		}
    	}
    
    	// Prepare to register the collectors. Other than `MetricGroup` collectors,
    	// we also have standard collectors like `GoCollector`.
    
    	// Create all Non-`MetricGroup` collectors here.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 02 00:55:27 GMT 2024
    - 13.6K bytes
    - Click Count (0)
Back to Top