Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 632 for toreplace (0.1 seconds)

  1. src/main/java/jcifs/util/InputValidator.java

         * @return normalized path
         */
        public static String normalizeSmbPath(String path) {
            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("\\")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

            .newCall(
              request()
                .build(),
            ).execute()
        response.body.close()
        val redactedUrl = networkInterceptor.redactUrl(url)
        val redactedUrlPattern = redactedUrl.replace("?", """\?""")
        applicationLogs
          .assertLogEqual("--> GET $redactedUrl")
          .assertLogMatch(Regex("""<-- 200 OK $redactedUrlPattern \(\d+ms, \d+-byte body\)"""))
          .assertNoMoreLogs()
        networkLogs
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/RegularImmutableMap.java

        return fromEntryArray(entries.length, entries, /* throwIfDuplicateKeys= */ true);
      }
    
      /**
       * Creates an ImmutableMap from the first n entries in entryArray. This implementation may replace
       * the entries in entryArray with its own entry objects (though they will have the same key/value
       * contents), and may take ownership of entryArray.
       */
      static <K, V> ImmutableMap<K, V> fromEntryArray(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * a {@link MoveDesc}. The first one is the element that was previously at the end of the heap and
       * is now at some position before {@code index}. The second element is the one that was swapped
       * down to replace the element at {@code index}. This fact is used by iterator.remove so as to
       * visit elements during a traversal once and only once.
       */
      @CanIgnoreReturnValue
      private @Nullable MoveDesc<E> removeAt(int index) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  5. cmd/metacache-entries.go

    						}
    						// Discard the directory.
    						if err := selectFrom(otherIdx); err != nil {
    							return err
    						}
    						continue
    					}
    					// Replace directory with object.
    					if serverDebugLog {
    						console.Debugln("mergeEntryChannels: discarding directory", best.name, "for object", other.name)
    					}
    					toMerge = toMerge[:0]
    					best = other
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  6. cmd/xl-storage-format-v2_test.go

    	}
    	if xl2.data.entries() != 1 {
    		t.Fatal("want 1 entry, got", xl2.data.entries())
    	}
    	// Re-add
    	xl2.data.replace(fi.VersionID, fi.Data)
    	failOnErr(xl2.data.validate())
    	if xl2.data.entries() != 2 {
    		t.Fatal("want 2 entries, got", xl2.data.entries())
    	}
    
    	// Replace entry
    	xl2.data.replace("756100c6-b393-4981-928a-d49bbc164741", data2)
    	failOnErr(xl2.data.validate())
    	if xl2.data.entries() != 2 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                return "file://" + path;
            }
            if (path.startsWith("/")) {
                return "file:" + path;
            }
            if (!path.startsWith("file:")) {
                return "file:/" + path.replace('\\', '/');
            }
            return path;
        }
    
        /**
         * Displays the start crawling form.
         *
         * @return HTML response for the start crawling form
         */
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 02:14:37 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java

                    spec.include(metaInfPrefix + "/**");
                    // Drop the version specific prefix
                    spec.eachFile(details -> details.setPath(details.getPath().replace(metaInfPrefix, "")));
                    spec.setIncludeEmptyDirs(false);
                }));
            });
        }
    
        private void assertNoJarHell(Set<String> jdkJarHellClasses) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 16.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Create spies
            SmbTransportImpl pooledSpy = spy(pooled);
            SmbTransportImpl nonPooledSpy = spy(nonPooled);
    
            // Replace with spies (remove and add back for concurrent queues)
            connections.remove(pooled);
            connections.offer(pooledSpy);
            nonPooledConnections.remove(nonPooled);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

        @Test
        public void searchTestWithOrOperation() throws Exception {
            String query = "java OR public";
    
            Map<String, String> andParams = new HashMap<>();
            andParams.put("q", query.replace("OR", "AND"));
            String andResponse = checkMethodBase(new HashMap<>()).params(andParams).get("/api/v1/documents").asString();
            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
Back to Top