Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 489 for startswith (0.09 seconds)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

            final Path normalizedPath = pathToCheck.toAbsolutePath().normalize();
            final Path normalizedBase = baseDirectory.toAbsolutePath().normalize();
            return normalizedPath.startsWith(normalizedBase);
        }
    
        /**
         * Validates that a given file is safe and does not attempt path traversal attacks.
         * <p>
         * This is a convenience method that converts File objects to Path and calls
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/Kerb5ContextTest.java

        void toString_notEstablished() throws Exception {
            when(gssContext.isEstablished()).thenReturn(false);
            String s = ctx.toString();
            assertTrue(s.startsWith("KERB5["));
            assertTrue(s.contains("src=null"));
        }
    
        @Test
        @DisplayName("toString shows names and mech when established")
        void toString_established_ok() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                    Path current = currentPom.toPath().toAbsolutePath().normalize();
                    Path topDirectory = session.getTopDirectory();
                    if (topDirectory != null && current.startsWith(topDirectory)) {
                        current = topDirectory.relativize(current);
                    }
                    logger.info("  from " + current);
                }
    
                // ----------[ packaging ]----------
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            setNumEntries(response, 2);
            setTotalAvailableEntries(response, 5);
    
            String result = response.toString();
    
            assertNotNull(result);
            assertTrue(result.startsWith("NetShareEnumResponse["));
            assertTrue(result.contains("status=0"));
            assertTrue(result.contains("converter=100"));
            assertTrue(result.contains("entriesReturned=2"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SIDTest.java

                SID sid = new SID(buildSidT((byte) 1, ident, 7, 8), jcifs.SID.SID_TYPE_USE_NONE, null, null, false);
                String s = sid.toString();
                assertTrue(s.startsWith("S-1-0x010203040506"));
                assertTrue(s.endsWith("-7-8"));
            }
    
            @Test
            @DisplayName("equals and hashCode for equal and non-equal SIDs")
    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)
  6. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            final List<String> list = new ArrayList<>(2);
            StringBuilder sb = new StringBuilder();
            int pos = 0;
            final int end = s.length();
            while (pos < end) {
                if (s.startsWith(separator, pos)) {
                    if (sb.length() > 0) {
                        list.add(sb.toString());
                        sb = new StringBuilder();
                    }
                    pos += separator.length();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

                val isMasterReleaseOrMergeQueueBranch = buildBranch.getOrElse("").let { branch ->
                    listOf("master", "release", "gh-readonly-queue/").any { prefix -> branch.startsWith(prefix) }
                }
                return@provider isOnCi && !isMasterReleaseOrMergeQueueBranch
            }
        }
    
    val Project.testDistributionDogfoodingTag: Provider<String>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 05:13:29 GMT 2026
    - 18K bytes
    - Click Count (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         */
        public static DcerpcHandle getHandle(final String url, final CIFSContext tc, final boolean unshared)
                throws MalformedURLException, DcerpcException {
            if (url.startsWith("ncacn_np:")) {
                return new DcerpcPipeHandle(url, tc, unshared);
            }
            throw new DcerpcException("DCERPC transport not supported: " + url);
        }
    
        /**
         * Bind the handle
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/Suggester.java

                }
                return new String(is.readAllBytes(), StandardCharsets.UTF_8);
            }
        }
    
        private boolean isSuggestIndex(final String indexName) {
            return indexName.startsWith(index);
        }
    
        /**
         * Returns a list of indices associated with the given alias.
         * @param alias The alias name.
         * @return A list of index names associated with the alias.
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.6K bytes
    - Click Count (3)
  10. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * @param name
         *            The property name
         * @return Whether the property is a target property
         */
        protected boolean isTargetProperty(final String name) {
            if (prefix != null && !name.startsWith(prefix)) {
                return false;
            }
            if (!includePropertyNames.isEmpty()) {
                for (final String includeName : includePropertyNames) {
                    if (includeName.equals(name)) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top