Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 4,407 for Avoid (0.03 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                // Execute with target model 4.1.0 (should create .mvn directory to avoid root warnings)
                upgradeGoal.testExecuteWithTargetModel(context, "4.1.0");
    
                Path mvnDir = projectDir.resolve(".mvn");
                assertTrue(
                        Files.exists(mvnDir),
                        ".mvn directory should be created for 4.1.0 to avoid root directory warnings");
            }
    
            @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

            // Total: 1 + 1 + 12*2 + 2 = 28 bytes
            byte[] dst = new byte[30]; // Use extra buffer space to avoid index errors
            int result = smbComOpenAndX.writeBytesWireFormat(dst, 0);
            assertEquals(28, result);
        }
    
        /**
         * Test writeBytesWireFormat method without Unicode.
         */
        @Test
        void testWriteBytesWireFormat_NoUnicode() {
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            @Test
            @DisplayName("Null handle triggers NullPointerException")
            void ctor_nullHandle_throwsNPE() {
                // Act + Assert
                assertThrows(NullPointerException.class, () -> new SmbPipeOutputStream(null, tree));
            }
    
            @Test
            @DisplayName("Null tree handle triggers NullPointerException")
            void ctor_nullTree_throwsNPE() {
                // Arrange
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. cmd/api-utils.go

    	}
    
    	switch c {
    	case '-', '_', '.', '/', '*':
    		return false
    	}
    	return true
    }
    
    // s3URLEncode is based on Golang's url.QueryEscape() code,
    // while considering some S3 exceptions:
    //   - Avoid encoding '/' and '*'
    //   - Force encoding of '~'
    func s3URLEncode(s string) string {
    	spaceCount, hexCount := 0, 0
    	for i := range len(s) {
    		c := s[i]
    		if shouldEscape(c) {
    			if c == ' ' {
    				spaceCount++
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. lib/hg/goreposum.py

    # of the entire remote repo state, and use that as the tag sum.
    # Any change on the server then invalidates the tag sum,
    # even if it didn't have anything to do with tags, but at least
    # we will avoid re-cloning a server when there have been no
    # changes at all.
    #
    # Separately, this extension also adds a 'golookup' command that
    # returns the hash of a specific reference, like 'default' or a tag.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Nov 11 15:21:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. src/README.vendor

    imported normally and vendored by the standard library.
    
    Vendored packages are internally renamed with a "vendor/" prefix
    to preserve the invariant that all packages have distinct paths.
    This is necessary to avoid compiler and linker conflicts. Adding
    a "vendor/" prefix also maintains the invariant that standard
    library packages begin with a dotless path element.
    
    The module requirements of std and cmd do not influence version
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Sep 30 19:15:39 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/common/PerformanceTestExtensions.kt

    testing/*/build/test-results-*.zip => results
    testing/*/build/tmp/**/log.txt => failure-logs
    testing/*/build/tmp/**/profile.log => failure-logs
    testing/*/build/tmp/**/daemon-*.out.log => failure-logs
    """
    
    // to avoid pathname too long error
    fun BuildSteps.substDirOnWindows(os: Os) {
        if (os == Os.WINDOWS) {
            script {
                name = "SETUP_VIRTUAL_DISK_FOR_PERF_TEST"
                executionMode = BuildStep.ExecutionMode.ALWAYS
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            };
        }
    
        @BeforeEach
        void setup() {
            when(ctx.getConfig()).thenReturn(config);
            // keep retries small for faster and deterministic tests
            when(config.getMaxRequestRetries()).thenReturn(2);
            when(config.isTraceResourceUsage()).thenReturn(false);
            // Mock credentials to avoid NullPointerException
            when(ctx.getCredentials()).thenReturn(credentials);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

            : SetTestSuiteBuilder.using(keySetGenerator);
      }
    
      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<@Nullable Void> {
        SUBMAP,
        DESCENDING;
    
        @Override
        public Set<Feature<? super @Nullable Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/net/PercentEscaper.java

        checkNotNull(safeChars); // eager for GWT.
        // Avoid any misunderstandings about the behavior of this escaper
        if (safeChars.matches(".*[0-9A-Za-z].*")) {
          throw new IllegalArgumentException(
              "Alphanumeric characters are always 'safe' and should not be explicitly specified");
        }
        safeChars += "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
        // Avoid ambiguous parameters. Safe characters are never modified so if
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
Back to Top