Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 4,383 for patch (0.02 seconds)

  1. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            }
        }
    
        /**
         * Get handle information by path
         * @param path the file path
         * @return the handle info or null if not found
         */
        public HandleInfo getHandleByPath(String path) {
            lock.readLock().lock();
            try {
                return handles.get(path);
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. scripts/doc_parsing_utils.py

        match = HASH_COMMENT_RE.match(line)
        if match:
            code = match.group("code").rstrip()
            comment = match.group("comment")
            return code, comment
        return line.rstrip(), None
    
    
    def _split_slashes_comment(line: str) -> tuple[str, str | None]:
        match = SLASHES_COMMENT_RE.match(line)
        if match:
            code = match.group("code").rstrip()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

          if (pos == limit) {
            // Empty path: keep the base path as-is.
            return
          }
          val c = input[pos]
          if (c == '/' || c == '\\') {
            // Absolute path: reset to the default "/".
            encodedPathSegments.clear()
            encodedPathSegments.add("")
            pos++
          } else {
            // Relative path: clear everything after the last '/'.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

            try {
                return ps.execute();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Executes a batch update.
         *
         * @param ps
         *            {@link PreparedStatement}. Must not be {@literal null}.
         * @return An array of the number of rows affected by each command in the batch.
         * @throws SQLRuntimeException
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
              t.printStackTrace(System.out)
              latch.countDown()
            }
          },
        )
    
        check(latch.await(30, TimeUnit.SECONDS)) { "Timed out waiting for test $number to finish." }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        static void register(Object referent, CountDownLatch latch) {
          references.add(new FinalizableReference(referent, latch));
        }
    
        final CountDownLatch latch;
    
        FinalizableReference(Object referent, CountDownLatch latch) {
          super(referent, referenceQueue);
          this.latch = latch;
        }
    
        @Override
        public void finalizeReferent() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            this.timestamp = timestamp;
        }
    
        @Override
        public String getType() {
            return MAVEN_METADATA_XML;
        }
    
        @Deprecated
        @Override
        public File getFile() {
            return path != null ? path.toFile() : null;
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

                            .status(ApiResult.Status.OK)
                            .result());
        }
    
        /**
         * Retrieves a specific key match setting by ID.
         *
         * @param id the ID of the key match setting to retrieve
         * @return JSON response containing the key match setting
         */
        // GET /api/admin/keymatch/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
        /**
         * Returns the simple file name (without directory path) of this mapping file.
         *
         * @return the file name without the full path
         */
        public String getSimpleName() {
            return new File(path).getName();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/PathValidatorTest.java

            // Should allow whitelisted path
            String allowed = validator.validatePath("\\share\\allowed\\file.txt");
            assertEquals("\\share\\allowed\\file.txt", allowed);
    
            // Should block non-whitelisted path
            try {
                validator.validatePath("\\share\\other\\file.txt");
                fail("Should block non-whitelisted path");
            } catch (SmbException e) {
    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)
Back to Top