Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 333 for WRAPPER (0.05 sec)

  1. internal/http/response-recorder.go

    package http
    
    import (
    	"bufio"
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"time"
    
    	"github.com/klauspost/compress/gzip"
    )
    
    // ResponseRecorder - is a wrapper to trap the http response
    // status code and to record the response body
    type ResponseRecorder struct {
    	http.ResponseWriter
    	io.ReaderFrom
    	StatusCode int
    	// Log body of 4xx or 5xx responses
    	LogErrBody bool
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. internal/grid/types.go

    			},
    		},
    		emptySz: sz,
    	}
    }
    
    func (p *JSONPool[T]) new() *T {
    	var zero T
    	if t, ok := p.pool.Get().(*T); ok {
    		*t = zero
    		return t
    	}
    	return &zero
    }
    
    // JSON is a wrapper around a T object that can be serialized.
    // There is an internal value
    type JSON[T any] struct {
    	p   *JSONPool[T]
    	val *T
    }
    
    // NewJSON returns a new JSONPool.
    // No initial value is set.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/Handler.java

    import java.util.HashMap;
    import java.util.Map;
    import java.util.StringTokenizer;
    
    /**
     * A <code>URLStreamHandler</code> used to provide NTLM authentication
     * capabilities to the default HTTP handler.  This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * The default HTTP port (<code>80</code>).
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractListMultimap.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Basic implementation of the {@link ListMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into {@code Lists}. The {@link
     * #createCollection} method must return a {@code List}.
     *
     * @author Jared Levy
     * @since 2.0
     */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. internal/config/errors-utils.go

    	}
    	return e
    }
    
    // Hint - Replace the current error's message
    func (u Err) Hint(m string, args ...any) Err {
    	e := u.Clone()
    	e.hint = fmt.Sprintf(m, args...)
    	return e
    }
    
    // ErrFn function wrapper
    type ErrFn func(err error) Err
    
    // Create a UI error generator, this is needed to simplify
    // the update of the detailed error message in several places
    // in MinIO code
    func newErrFn(msg, action, hint string) ErrFn {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. internal/dsync/dsync-client_test.go

    import (
    	"bytes"
    	"context"
    	"errors"
    	"net/http"
    	"net/url"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/rest"
    )
    
    // ReconnectRESTClient is a wrapper type for rest.Client which provides reconnect on first failure.
    type ReconnectRESTClient struct {
    	u    *url.URL
    	rest *rest.Client
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/Gradleception.kt

                    }
                },
            )
        })
    
    fun BuildSteps.localGradle(init: GradleBuildStep.() -> Unit): GradleBuildStep =
        customGradle(init) {
            param("ui.gradleRunner.gradle.wrapper.useWrapper", "false")
            buildFile = ""
            skipConditionally()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 09 05:26:45 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

    // TODO: remove this after the branch is merged
    const val PROVIDER_API_MIGRATION_BRANCH = "provider-api-migration/public-api-changes"
    const val BOT_DAILY_UPGRADLE_WRAPPER_BRANCH = "devprod/upgrade-to-latest-wrapper"
    
    const val DEPENDABOT_BRANCH_PATTERN = "dependabot/*"
    
    fun determineBranchFilter(branches: List<String>): String =
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 12:17:39 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

            return;
          }
        }
    
        throw new IllegalArgumentException(
            Platform.format("key %s not found in entries %s", newEntry.getKey(), expected));
      }
    
      /**
       * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as
       * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/ResourceManagerTest.java

            Map<String, Object> stats = resourceManager.getStatistics();
            assertTrue((long) stats.get("totalReleased") > 0);
        }
    
        @Test
        @DisplayName("Test managed resource wrapper")
        void testManagedResource() throws Exception {
            TestResource resource = new TestResource("test3");
    
            try (ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top