Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 381 for fails (0.12 sec)

  1. internal/kms/secret-key.go

    		var c ciphertext
    		if err := c.UnmarshalJSON(b); err != nil {
    			// It may happen that a random ciphertext starts with '{' and ends with '}'.
    			// In such a case, parsing will fail but we must not return an error. Instead
    			// we return the ciphertext as it is.
    			return b, kms.AES256
    		}
    
    		b = b[:0]
    		b = append(b, c.Bytes...)
    		b = append(b, c.IV...)
    		b = append(b, c.Nonce...)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. cmd/ftp-server-driver.go

    	if err != nil {
    		return err
    	}
    
    	cctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	if prefix == "" {
    		// if all objects are not deleted yet this call may fail.
    		return clnt.RemoveBucket(cctx, bucket)
    	}
    
    	objectsCh := make(chan minio.ObjectInfo)
    
    	// Send object names that are needed to be removed to objectsCh
    	go func() {
    		defer xioutil.SafeClose(objectsCh)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.h

    // Load the library specified by library_filename and register the pluggable
    // device and related kernels present in that library. This function is not
    // supported on embedded on mobile and embedded platforms and will fail if
    // called.
    //
    // Pass "library_filename" to a platform-specific mechanism for dynamically
    // loading a library. The rules for determining the exact location of the
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/handling-errors.md

    Es gibt Situationen, da ist es nützlich, dem HTTP-Error benutzerdefinierte Header hinzufügen zu können, etwa in einigen Sicherheitsszenarien.
    
    Sie müssen das wahrscheinlich nicht direkt in ihrem Code verwenden.
    
    Aber falls es in einem fortgeschrittenen Szenario notwendig ist, können Sie benutzerdefinierte Header wie folgt hinzufügen:
    
    ```Python hl_lines="14"
    {!../../docs_src/handling_errors/tutorial002.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. internal/lock/lock_windows.go

    	if flag == syscall.O_RDONLY {
    		// https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-lockfileex
    		//lint:ignore SA4016 Reasons
    		lockType = lockFileFailImmediately // Set this to enable shared lock and fail immediately.
    	}
    	return lockedOpenFile(path, flag, perm, lockType)
    }
    
    // LockedOpenFile - initializes a new lock and protects
    // the file from concurrent access.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. cmd/server-main.go

    		Logger: func(err error) {
    			if err != nil && !errors.Is(err, context.Canceled) {
    				proxyLogIf(GlobalContext, err)
    			}
    		},
    	})
    
    	// On macOS, if a process already listens on LOCALIPADDR:PORT, net.Listen() falls back
    	// to IPv6 address ie minio will start listening on IPv6 address whereas another
    	// (non-)minio process is listening on IPv4 of given port.
    	// To avoid this error situation we check for port availability.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (3)
  7. internal/config/certs_test.go

    		if err != nil && !testCase.shouldFail {
    			t.Errorf("Test %d: test should succeed but it failed: %v", i, err)
    		}
    		if err == nil && testCase.shouldFail {
    			t.Errorf("Test %d: test should fail but it succeed", i)
    		}
    		os.Remove(privateKey)
    		os.Remove(certificate)
    	}
    }
    
    var loadX509KeyPairTests = []struct {
    	password                string
    	privateKey, certificate string
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  8. api/go1.18.txt

    pkg testing, method (*F) Add(...interface{})
    pkg testing, method (*F) Cleanup(func())
    pkg testing, method (*F) Error(...interface{})
    pkg testing, method (*F) Errorf(string, ...interface{})
    pkg testing, method (*F) Fail()
    pkg testing, method (*F) FailNow()
    pkg testing, method (*F) Failed() bool
    pkg testing, method (*F) Fatal(...interface{})
    pkg testing, method (*F) Fatalf(string, ...interface{})
    pkg testing, method (*F) Fuzz(interface{})
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/jquery-3.7.1.min.js

    o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i...
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  10. cmd/erasure-decode.go

    			if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) {
    				if derr == nil {
    					derr = err
    				}
    			}
    		} else if err != nil {
    			// For all errors that cannot be reconstructed fail the read operation.
    			return -1, err
    		}
    
    		if err = e.DecodeDataBlocks(bufs); err != nil {
    			return -1, err
    		}
    
    		n, err := writeDataBlocks(ctx, writer, bufs, e.dataBlocks, blockOffset, blockLength)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top