Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 458 for Ensure (0.06 seconds)

  1. PULL_REQUESTS_ETIQUETTE.md

    # MinIO Pull Request Guidelines
    
    These guidelines ensure high-quality commits in MinIO’s GitHub repositories, maintaining 
    a clear, valuable commit history for our open-source projects. They apply to all contributors, 
    fostering efficient reviews and robust code.
    
    ## Why Pull Requests?
    
    Pull Requests (PRs) drive quality in MinIO’s codebase by:
    - Enabling peer review without pair programming.
    - Documenting changes for future reference.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun May 25 16:32:03 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

     * <p>
     * This class provides precise time measurements using {@link System#nanoTime()}
     * while maintaining wall-clock time information in UTC. The wall-clock time
     * is computed from the monotonic duration since system start to ensure consistency
     * between time measurements.
     * <p>
     * This implementation is singleton-based and always uses UTC timezone. The clock
     * cannot be adjusted to different timezones to maintain consistent monotonic behavior.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. .pre-commit-config.yaml

            entry: uv run ./scripts/docs.py update-languages
            files: ^docs/.*|scripts/docs\.py$
            pass_filenames: false
    
          - id: ensure-non-translated
            language: unsupported
            name: ensure non-translated files are not modified
            entry: uv run ./scripts/docs.py ensure-non-translated
            files: ^docs/(?!en/).*|^scripts/docs\.py$
            pass_filenames: false
    
          - id: fix-translations
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 2.6K bytes
    - Click Count (1)
  4. src/test/java/jcifs/ResolverTypeTest.java

        @Test
        void testNumberOfEnumConstants() {
            // Ensure there are exactly 4 resolver types
            assertEquals(4, ResolverType.values().length, "There should be exactly 4 resolver types.");
        }
    
        /**
         * Tests the names of the enum constants.
         */
        @Test
        void testEnumNames() {
            // Verify the names of the enum constants to ensure they are not accidentally changed
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/WinErrorTest.java

        }
    
        @Test
        @DisplayName("Constants: values match Windows error codes")
        void constants_have_expected_values() {
            // Ensure each public constant has its documented numeric value (happy path)
            assertAll(() -> assertEquals(0, WinError.ERROR_SUCCESS), () -> assertEquals(5, WinError.ERROR_ACCESS_DENIED),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. internal/config/errors.go

    	)
    
    	ErrUnsupportedBackend = newErrFn(
    		"Unable to write to the backend",
    		"Please ensure your drive supports O_DIRECT",
    		"",
    	)
    
    	ErrUnableToWriteInBackend = newErrFn(
    		"Unable to write to the backend",
    		"Please ensure MinIO binary has write permissions for the backend",
    		`Verify if MinIO binary is running as the same user who has write permissions for the backend`,
    	)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. .github/DISCUSSION_TEMPLATE/translations.yml

          value: |
            Thanks for your interest in helping translate the FastAPI docs! 🌍
    
            Please follow these instructions carefully to propose a new language translation. 🙏
    
            This structured process helps ensure translations can be properly maintained long-term.
      - type: checkboxes
        id: checks
        attributes:
          label: Initial Checks
          description: Please confirm and check all the following options.
          options:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jul 26 11:35:42 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. .github/PULL_REQUEST_TEMPLATE.md

    - [ ] Provide unit tests (under `<subproject>/src/test`) to verify logic.
    - [ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes.
    - [ ] Ensure that tests pass sanity check: `./gradlew sanityCheck`.
    - [ ] Ensure that tests pass locally: `./gradlew <changed-subproject>:quickTest`.
    
    ### Reviewing cheatsheet
    
    Before merging the PR, comments starting with 
    - ❌ ❓**must** be fixed
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 13 22:36:19 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  9. cmd/api-headers_test.go

    package cmd
    
    import (
    	"testing"
    )
    
    func TestNewRequestID(t *testing.T) {
    	// Ensure that it returns an alphanumeric result of length 16.
    	id := mustGetRequestID(UTCNow())
    
    	if len(id) != 16 {
    		t.Fail()
    	}
    
    	var e rune
    	for _, char := range id {
    		e = char
    
    		// Ensure that it is alphanumeric, in this case, between 0-9 and A-Z.
    		isAlnum := ('0' <= e && e <= '9') || ('A' <= e && e <= 'Z')
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            assertTrue(seq3 > seq2);
        }
    
        @Test
        void testHeartbeatUpdate() throws InterruptedException {
            long initialTime = registration.getLastHeartbeat();
    
            Thread.sleep(50); // Ensure sufficient time difference
            registration.updateHeartbeat();
    
            // After update, should not be expired with long timeout
            assertFalse(registration.isExpired(60000));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top