Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 914 for isValid (0.06 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_DataTypeSize(TF_DOUBLE),
                tensorflow::DataTypeSize(tensorflow::DT_DOUBLE));
      EXPECT_EQ(TF_DataTypeSize(TF_STRING),
                tensorflow::DataTypeSize(tensorflow::DT_STRING));
      // Test with invalid type; should always return 0 as documented
      EXPECT_EQ(TF_DataTypeSize(static_cast<TF_DataType>(0)), 0);
    }
    
    TEST(CAPI, StatusEnum) {
      EXPECT_EQ(TF_OK, static_cast<TF_Code>(tensorflow::error::OK));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.23.md

    - Validation rules for Custom Resource Definitions can be written in the [CEL expression...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	switch r.Context {
    	case ctxCall, ctxCall2:
    		if r.Name.Kind != "func" {
    			if r.Name.Kind == "type" {
    				r.Context = ctxType
    				if r.Name.Type == nil {
    					error_(r.Pos(), "invalid conversion to C.%s: undefined C type '%s'", fixGo(r.Name.Go), r.Name.C)
    				}
    				break
    			}
    			error_(r.Pos(), "call of non-function C.%s", fixGo(r.Name.Go))
    			break
    		}
    		if r.Context == ctxCall2 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    				}
    				return errDoneForNow
    			}
    
    			if isReservedOrInvalidBucket(bucket, false) {
    				if f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" invalid bucket: %v, entry: %v\n", bucket, entName)
    				}
    				return errDoneForNow
    			}
    
    			select {
    			case <-done:
    				return errDoneForNow
    			default:
    			}
    
    			if typ&os.ModeDir != 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    }
    
    // shardSize returns the shard size for a given block size and data blocks.
    func shardSize(blockSize, dataBlocks int) (sz int) {
    	if dataBlocks == 0 {
    		// do nothing on invalid input
    		return
    	}
    	// Make denominator positive
    	if dataBlocks < 0 {
    		blockSize = -blockSize
    		dataBlocks = -dataBlocks
    	}
    	sz = blockSize / dataBlocks
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.8.md

    ### Action Required
    
    * ACTION REQUIRED: Kubernetes JSON deserializer is now case-sensitive to restore compatibility with pre-1.8 servers. If your config files contains fields with wrong case, the config files will be now invalid. ([#65410](https://github.com/kubernetes/kubernetes/pull/65410), [@nikhita](https://github.com/nikhita))
    
    ### Other notable changes
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-decom.go

    	ctx = logger.SetReqInfo(ctx, &logger.ReqInfo{})
    
    	const envDecomWorkers = "_MINIO_DECOMMISSION_WORKERS"
    	workerSize, err := env.GetInt(envDecomWorkers, len(pool.sets))
    	if err != nil {
    		decomLogIf(ctx, fmt.Errorf("invalid workers value err: %v, defaulting to %d", err, len(pool.sets)))
    		workerSize = len(pool.sets)
    	}
    
    	// Each decom worker needs one List() goroutine/worker
    	// add that many extra workers.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.2.md

    direct YAML support in the API available today), the Content-Type and Accept
    headers are now properly handled as per the HTTP spec.  As a consequence, if
    you had a client that was sending an invalid Content-Type or Accept header to
    the API, in 1.2 you will either receive a 415 or 406 error.
    The only client
    this is known to affect is curl when you use -d with JSON but don't set a
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			// To ensure input lifecycle configurations are valid
    			if err := lc.Validate(lock.Retention{}); err != nil {
    				t.Fatalf("Invalid test case: %d %v", i+1, err)
    			}
    			if got := lc.HasActiveRules(tc.prefix); got != tc.want {
    				t.Fatalf("Expected result: `%v`, got: `%v`", tc.want, got)
    			}
    		})
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. .bazelrc

    build:release_linux_base --copt=-Wno-error=unused-command-line-argument
    # Set lld as the linker.
    build:release_linux_base --linkopt="-fuse-ld=lld"
    build:release_linux_base --linkopt="-lm"
    
    # We have some invalid linker scripts in the build,
    # so we need to disable this check
    build:release_linux_base --linkopt=-Wl,--undefined-version
    
    # Container environment settings below this point.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top