Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,445 for _context (0.08 sec)

  1. cmd/untar.go

    		return d.r.Read(p)
    	}
    	return 0, errors.New("reader closed")
    }
    
    func (d *disconnectReader) Close() error {
    	d.mu.Lock()
    	d.r = nil
    	d.mu.Unlock()
    	return nil
    }
    
    func untar(ctx context.Context, r io.Reader, putObject func(reader io.Reader, info os.FileInfo, name string) error, o untarOptions) error {
    	bf := bufio.NewReader(r)
    	switch f := detect(bf); f {
    	case formatGzip:
    		gz, err := gzip.NewReader(bf)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (2)
  2. src/main/java/org/codelibs/core/net/URLUtil.java

         *
         * @param context
         *            The context in which to parse the spec. Must not be {@literal null}.
         * @param spec
         *            A string to be parsed as a <code>URL</code>. Must not be {@literal null} or empty.
         * @return A <code>URL</code>.
         */
        public static URL create(final URL context, final String spec) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/NetbiosAddress.java

         *            context to use
         * @return whether this address is permanent
         *
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        boolean isPermanent(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Retrieves the MAC address of the remote network interface. Samba returns all zeros.
         *
         * @param tc
         *            context to use
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

     */
    package jcifs.context;
    
    import jcifs.CIFSContext;
    import jcifs.Credentials;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.NtlmAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbRenewableCredentials;
    
    /**
     * Context wrapper supplying alternate credentials
     *
     * @author mbechler
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/ContextAwarePlatform.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.content.Context
    
    interface ContextAwarePlatform {
      var applicationContext: Context?
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Dec 31 14:50:53 UTC 2024
    - 737 bytes
    - Viewed (0)
  6. docs/extensions/s3zip/examples/minio-go/main.go

    package main
    
    import (
    	"context"
    	"io"
    	"log"
    	"os"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    func main() {
    	s3Client, err := minio.New("minio-server-address:9000", &minio.Options{
    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jun 14 18:04:14 UTC 2021
    - 694 bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    func (d *dynamicSleeper) Timer(ctx context.Context) func() {
    	t := time.Now()
    	return func() {
    		doneAt := time.Now()
    		d.Sleep(ctx, doneAt.Sub(t))
    	}
    }
    
    // Sleep sleeps the specified time multiplied by the sleep factor.
    // If the factor is updated the sleep will be done again with the new factor.
    func (d *dynamicSleeper) Sleep(ctx context.Context, base time.Duration) {
    	for {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers-config-kv.go

    			// Logger webhook proxy deleted, apply the dynamic changes
    			applyDynamic(ctx, objectAPI, cfg, config.LoggerWebhookSubSys, r, w)
    		}
    	}
    }
    
    func applyDynamic(ctx context.Context, objectAPI ObjectLayer, cfg config.Config, subSys string,
    	r *http.Request, w http.ResponseWriter,
    ) {
    	// Apply dynamic values.
    	if err := applyDynamicConfigForSubSys(GlobalContext, objectAPI, cfg, subSys); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/UniAddress.java

         * public static String getDomainByName(String name) throws UnknownHostException {
         * DirContext context;
         * UnknownHostException uhe = null;
         *
         * try {
         * context = new InitialDirContext();
         * for ( ;; ) {
         * try {
         * Attributes attributes = context.getAttributes(
         * "dns:/_ldap._tcp.dc._msdcs." + name,
         * new String[] { "SRV" }
         * );
         * return name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/CredentialsInternal.java

        /**
         * Create an SSP context for authentication.
         * @param tc the CIFS context
         * @param targetDomain the target domain for authentication
         * @param host the target host
         * @param initialToken initial authentication token, if any
         * @param doSigning whether message signing should be enabled
         * @return a new SSP authentication context
         * @throws SmbException if context creation fails
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top