Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 411 for forwarded (0.05 seconds)

  1. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

            Runnable.class,
            runnable ->
                new ForwardingRunnable(runnable) {
                  @Override
                  public void run() {}
                },
            "run()",
            "Failed to forward");
      }
    
      public void testRedundantForwarding() {
        assertFailure(
            Runnable.class,
            runnable ->
                () -> {
                  runnable.run();
                  runnable.run();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  2. cmd/handler-utils.go

    	success = true
    
    	// Make sure we remove any existing headers before
    	// proxying the request to another node.
    	for k := range w.Header() {
    		w.Header().Del(k)
    	}
    
    	f := handlers.NewForwarder(&handlers.Forwarder{
    		PassHost:     true,
    		RoundTripper: ep.Transport,
    		ErrorHandler: func(w http.ResponseWriter, r *http.Request, err error) {
    			success = false
    			if err != nil && !errors.Is(err, context.Canceled) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  3. internal/s3select/sql/value.go

    		}
    		if a.IsMissing() {
    			return v.IsMissing(), nil
    		}
    		// Forward to Equal
    		op = opEq
    	case opIsNot:
    		if a.IsNull() {
    			// Missing is not null
    			return !v.IsNull() && !v.IsMissing(), nil
    		}
    		if a.IsMissing() {
    			return !v.IsMissing(), nil
    		}
    		// Forward to not equal.
    		op = opIneq
    	default:
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/PathValidatorTest.java

            String normalized = validator.validatePath(path);
            assertEquals("\\share\\folder\\file.txt", normalized);
        }
    
        @Test
        public void testNormalizePath() throws Exception {
            // Test forward slash normalization
            assertEquals("\\share\\folder", validator.validatePath("/share/folder"));
    
            // Test duplicate slash removal
    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)
  5. src/main/java/jcifs/util/PathValidator.java

                    return true;
                }
            }
    
            return false;
        }
    
        /**
         * Normalize a path
         */
        private String normalizePath(String path) {
            // Replace forward slashes with backslashes for consistency
            String normalized = path.replace('/', '\\');
    
            // Remove duplicate slashes
            normalized = normalized.replaceAll("\\\\+", "\\\\");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SIDCacheImplTest.java

                Object[] args = inv.getArguments();
                String server = (String) args[0];
                CIFSContext c = (CIFSContext) args[1];
                assertNull(server); // We will pass null; method should forward it unchanged
                assertSame(ctx, c);
                SID[] toResolve = (SID[]) args[2];
                for (int i = 0; i < toResolve.length; i++) {
                    toResolve[i].type = jcifs.SID.SID_TYPE_USER;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Lists.java

          this.function = checkNotNull(function);
        }
    
        /**
         * The default implementation inherited is based on iteration and removal of each element which
         * can be overkill. That's why we forward this call directly to the backing list.
         */
        @Override
        protected void removeRange(int fromIndex, int toIndex) {
          fromList.subList(fromIndex, toIndex).clear();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  8. src/archive/zip/struct.go

    // [ZIP specification]: https://support.pkware.com/pkzip/appnote
    type FileHeader struct {
    	// Name is the name of the file.
    	//
    	// It must be a relative path, not start with a drive letter (such as "C:"),
    	// and must use forward slashes instead of back slashes. A trailing slash
    	// indicates that this file is a directory and should have no data.
    	Name string
    
    	// Comment is any arbitrary user-defined string shorter than 64KiB.
    	Comment string
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue May 28 21:41:09 GMT 2024
    - 12.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/config/DelegatingConfiguration.java

     *
     * @author mbechler
     */
    public class DelegatingConfiguration implements Configuration {
    
        private final Configuration delegate;
    
        /**
         * Creates a delegating configuration that forwards calls to another configuration
         * @param delegate
         *            delegate to pass all non-overridden method calls to
         *
         */
        public DelegatingConfiguration(final Configuration delegate) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          }
    
          private List<Multiset.Entry<E>> snapshot() {
            List<Multiset.Entry<E>> list = newArrayListWithExpectedSize(size());
            // not Iterables.addAll(list, this), because that'll forward back here
            Iterators.addAll(list, iterator());
            return list;
          }
    
          @Override
          public boolean remove(Object object) {
            if (object instanceof Multiset.Entry) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
Back to Top