Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,026 for checkID (0.16 sec)

  1. cmd/storage-rest-server.go

    		return false
    	}
    
    	// If format.json is available and request sent the right disk-id, we allow the request
    	return true
    }
    
    // checkID - check if the disk-id in the request corresponds to the underlying disk.
    func (s *storageRESTServer) checkID(wantID string) bool {
    	if s.getStorage() == nil {
    		return false
    	}
    	if wantID == "" {
    		// Request sent empty disk-id, we allow the request
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/metacache-walk.go

    						internalLogIf(ctx, err)
    					}
    				}
    				dirStack = dirStack[:len(dirStack)-1]
    			}
    
    			// All objects will be returned as directories, there has been no object check yet.
    			// Check it by attempting to read metadata.
    			_, isDirObj := dirObjects[entry]
    			if isDirObj {
    				meta.name = meta.name[:len(meta.name)-1] + globalDirSuffixWithSlash
    			}
    
    			if s.walkReadMu != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. cmd/xl-storage-disk-id-check.go

    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-t.C:
    			if !monitor() {
    				return
    			}
    		}
    	}
    }
    
    // checkID will check if the disk ID matches the provided ID.
    func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) {
    	if wantID == "" {
    		return nil
    	}
    	id, err := p.storage.GetDiskID()
    	if err != nil {
    		return err
    	}
    	if id != wantID {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. ci/official/utilities/code_check_full.bats

    # only on affected targets, usually. There are targets in //tensorflow/lite that
    # don't pass --nobuild, so they're on their own.
    #
    # Although buildifier checks for formatting as well, "bazel build nobuild"
    # checks for cross-file issues like bad includes or missing BUILD definitions.
    #
    # We can't test on the windows toolchains because they're using a legacy
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/gradient_checker.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/c/eager/gradient_checker.h"
    
    #include <memory>
    
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/experimental/ops/math_ops.h"
    #include "tensorflow/c/tf_tensor.h"
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  6. .github/workflows/check-bad-merge.yml

    # See .github/workflows/CheckBadMerge.groovy for explanation
    name: Check bad merge commit
    on:
      pull_request:
        types:
         - opened
         - synchronize
    
    permissions: {}
    
    jobs:
      check_pr_commits:
        permissions:
          contents: read
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
          - name: Set up JDK 11
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. cmd/object-api-input-checks.go

    import (
    	"context"
    	"encoding/base64"
    	"runtime"
    	"strings"
    
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    )
    
    // Checks on CopyObject arguments, bucket and object.
    func checkCopyObjArgs(ctx context.Context, bucket, object string) error {
    	return checkBucketAndObjectNames(ctx, bucket, object)
    }
    
    // Checks on GetObject arguments, bucket and object.
    func checkGetObjArgs(ctx context.Context, bucket, object string) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * RuntimeException runtime exceptions} thrown by the executor.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void executeListener(Runnable runnable, Executor executor) {
        try {
          executor.execute(runnable);
        } catch (Exception e) { // sneaky checked exception
          // Log it and keep going -- bad runnable and/or executor. Don't punish the other runnables if
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top