Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 170 for Training (0.04 sec)

  1. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        } catch (AssertionFailedError expected) {
          return;
        }
        fail("Should have failed");
      }
    
      /** An interface for the 2 ways that a chaining call might be defined. */
      private interface ChainingCalls {
        // A method that is defined to 'return this'
        @CanIgnoreReturnValue
        ChainingCalls chainingCall();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

             * in such a way that there can be a slash at the end of the path. This
             * causes problems matching keys in resolve() where an extra slash causes
             * a mismatch. This strips trailing slashes from all keys to eliminate
             * this problem.
             */
            int ki = key.length();
            while (ki > 1 && key.charAt(ki - 1) == '\\') {
                ki--;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/PathValidatorTest.java

            // Test duplicate slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\\\share\\\\folder"));
    
            // Test trailing slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\share\\folder\\"));
        }
    
        @Test
        public void testDirectoryTraversal() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/InputValidator.java

            validateSmbPath(path);
    
            // Normalize slashes
            path = path.replace('/', '\\');
    
            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
                path = path.substring(0, path.length() - 1);
            }
    
            return path;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                assertNotNull(resp);
                assertSame(mockConfig, resp.getConfig());
            }
        }
    
        @Nested
        @DisplayName("Response Chaining Tests")
        class ResponseChainingTests {
    
            @Test
            @DisplayName("Should return next response")
            void testGetNextResponse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils.go

    			extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10))
    		default:
    			return nil, ErrUnsignedHeaders
    		}
    	}
    	return extractedSignedHeaders, ErrNone
    }
    
    // Trim leading and trailing spaces and replace sequential spaces with one space, following Trimall()
    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

            assertFalse(result.isPartialResults());
            assertNull(result.getFacetResponse());
        }
    
        public void test_builder_methodChaining() {
            // Test method chaining in builder
            Map<String, Object> doc = new HashMap<>();
            doc.put("test", "value");
            Aggregations aggregations = InternalAggregations.EMPTY;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. apache-maven/src/assembly/maven/bin/mvn.cmd

        if errorlevel 1 (
            rem Handle end-of-line comments by taking everything before #
            for /f "tokens=1* delims=#" %%i in ("!line!") do set "line=%%i"
    
            rem Trim leading/trailing spaces while preserving spaces in quotes
            set "trimmed=!line!"
            for /f "tokens=* delims= " %%i in ("!trimmed!") do set "trimmed=%%i"
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 9.6K bytes
    - Viewed (3)
  9. cmd/os_unix.go

    		if strings.HasPrefix(baseDir, dirPath) {
    			return nil
    		}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    	i := len(dirPath)
    	for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator.
    		i--
    	}
    
    	j := i
    	for j > 0 && !os.IsPathSeparator(dirPath[j-1]) { // Scan backward over element.
    		j--
    	}
    
    	if j > 1 {
    		// Create parent.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/Utf8Test.java

       */
      public void testIsWellFormed_4BytesSamples() {
        // Valid 4 byte.
        assertWellFormed(0xF0, 0xA4, 0xAD, 0xA2);
        // Bad trailing bytes
        assertNotWellFormed(0xF0, 0xA4, 0xAD, 0x7F);
        assertNotWellFormed(0xF0, 0xA4, 0xAD, 0xC0);
        // Special cases for byte2
        assertNotWellFormed(0xF0, 0x8F, 0xAD, 0xA2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top