Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 734 for replace (0.04 sec)

  1. 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)
  2. docs/features/interceptors.md

     * Observe the data just as it will be transmitted over the network.
     * Access to the `Connection` that carries the request.
    
    ### Rewriting Requests
    
    Interceptors can add, remove, or replace request headers. They can also transform the body of those requests that have one. For example, you can use an application interceptor to add request body compression if you're connecting to a webserver known to support it.
    
    ```java
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Create reconnection logic with handle replay
    - [ ] Add timeout management for durable handles
    - [ ] Implement handle lease association
    - [ ] Add persistent handle capability negotiation
    - [ ] Create handle cache for reconnection
    
    #### 2.3 Integration Points
    - Extend `SmbFile` with persistent handle support
    - Modify `SmbSession` for handle replay during reconnection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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. 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)
  10. 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)
Back to top