Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,341 for Replace (0.04 sec)

  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("\\")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                dynamicTable = doubled
              }
              index = nextHeaderIndex--
              dynamicTable[index] = entry
              headerCount++
            } else { // Replace value at same position.
              index += dynamicTableIndex(index) + entriesEvicted
              dynamicTable[index] = entry
            }
            dynamicTableByteCount += delta
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. cmd/bucket-metadata-sys.go

    			if err != nil {
    				internalLogIf(ctx, err, logger.WarningKind)
    				break
    			}
    
    			// Handle if we have some buckets in-memory those are stale.
    			// first delete them and then replace the newer state()
    			// from disk.
    			diskBuckets := set.CreateStringSet()
    			for _, bucket := range buckets {
    				diskBuckets.Add(bucket.Name)
    			}
    			sys.RemoveStaleBuckets(diskBuckets)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            assertEquals(0, event.toSource().size());
    
            // Add elements to the map
            map1.put("key1", "value1");
            assertEquals(1, event.toSource().size());
    
            // Replace the map
            Map<String, Object> map2 = new HashMap<>();
            map2.put("key2", "value2");
            map2.put("key3", "value3");
            event.setSourceMap(map2);
            assertEquals(2, event.toSource().size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. callbacks/query.go

    											for idx, v := range vars {
    												bindvar := strings.Builder{}
    												onStmt.Vars = vars[0 : idx+1]
    												db.Dialector.BindVarTo(&bindvar, &onStmt, v)
    												onSQL = strings.Replace(onSQL, bindvar.String(), "?", 1)
    											}
    
    											exprs = append(exprs, clause.Expr{SQL: onSQL, Vars: vars})
    										}
    									}
    								}
    							}
    
    							return clause.Join{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (3)
  8. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

         * Creates a UUID and removes hyphens to create a clean identifier string.
         *
         * @return a new unique identifier string
         */
        protected String getId() {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        /**
         * Updates the user session with the provided user code.
         * This method registers the user info with the search log helper and updates the cookie.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            ruleManager.addRule(oldRule);
    
            ResponseData responseData = new ResponseData();
            assertNull(ruleManager.getRule(responseData)); // Old rule doesn't match
    
            // Replace old rule with new rule
            ruleManager.removeRule(oldRule);
            ruleManager.addRule(newRule);
    
            Rule matched = ruleManager.getRule(responseData);
            assertNotNull(matched);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  10. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top