Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 750 for OK (0.14 sec)

  1. clause/where.go

    func (where Where) Build(builder Builder) {
    	if len(where.Exprs) == 1 {
    		if andCondition, ok := where.Exprs[0].(AndConditions); ok {
    			where.Exprs = andCondition.Exprs
    		}
    	}
    
    	// Switch position if the first query expression is a single Or condition
    	for idx, expr := range where.Exprs {
    		if v, ok := expr.(OrConditions); !ok || len(v.Exprs) > 1 {
    			if idx != 0 {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Mar 05 02:23:51 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. schema/schema.go

    			fieldInterface := fieldValue.Interface()
    			if fc, ok := fieldInterface.(CreateClausesInterface); ok {
    				field.Schema.CreateClauses = append(field.Schema.CreateClauses, fc.CreateClauses(field)...)
    			}
    
    			if fc, ok := fieldInterface.(QueryClausesInterface); ok {
    				field.Schema.QueryClauses = append(field.Schema.QueryClauses, fc.QueryClauses(field)...)
    			}
    
    			if fc, ok := fieldInterface.(UpdateClausesInterface); ok {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  3. tensorflow/c/env_test.cc

    #include "tensorflow/c/c_api.h"
    #include "tensorflow/core/lib/io/path.h"
    #include "tensorflow/core/platform/mutex.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/platform/types.h"
    
    #define ASSERT_TF_OK(x) ASSERT_EQ(TF_OK, TF_GetCode(x))
    
    TEST(TestEnv, TestDirHandling) {
      TF_StringStream* tempdirs = TF_GetLocalTempDirectories();
      const char* tempdir;
      bool found = false;
      while (TF_StringStreamNext(tempdirs, &tempdir)) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  4. clause/expression.go

    			if inName {
    				if nv, ok := namedMap[string(name)]; ok {
    					builder.AddVar(builder, nv)
    				} else {
    					builder.WriteByte('@')
    					builder.WriteString(string(name))
    				}
    				inName = false
    			}
    
    			afterParenthesis = false
    			builder.WriteByte(v)
    		} else if v == '?' && len(expr.Vars) > idx {
    			if afterParenthesis {
    				if _, ok := expr.Vars[idx].(driver.Valuer); ok {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:45:48 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

      auto status = pjrt::PjrtApi(DEVICE_CPU);
      if (!status.ok()) {
        TF_ASSERT_OK(pjrt::SetPjrtApi(DEVICE_CPU, GetPjrtApi()));
      }
      TF_ASSERT_OK_AND_ASSIGN(auto pjrt_client, xla::GetCApiClient(DEVICE_CPU));
      TF_ASSERT_OK(SetPjRtClientInTFGlobalResourceManager(DEVICE_CPU,
                                                          std::move(pjrt_client)));
    
      TF_ASSERT_OK_AND_ASSIGN(
          auto pjrt_client_get,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

      if (TF_GetCode(status) != TF_OK) return;
      TFE_OpAddInput(op.get(), handle_, status);
      if (TF_GetCode(status) != TF_OK) return;
      const char* device = TFE_TensorHandleDeviceName(handle_, status);
      if (TF_GetCode(status) != TF_OK) return;
      TFE_OpSetDevice(op.get(), device, status);
      if (TF_GetCode(status) != TF_OK) return;
      int num_retvals = 0;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        }
        if (TF_GetCode(status) != TF_OK) return -1;
        if (read < n)
          TF_SetStatus(status, TF_OUT_OF_RANGE, "Read less bytes than requested");
        else
          TF_SetStatus(status, TF_OK, "");
        return read;
      };
      file->plugin_file = new tf_random_access_file::GCSFile(
          std::move(path), is_cache_enabled, gcs_file->block_size, read_fn);
      TF_SetStatus(status, TF_OK, "");
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  8. schema/field.go

    	}
    
    	if v, ok := field.TagSettings["DEFAULT"]; ok {
    		field.HasDefaultValue = true
    		field.DefaultValue = v
    	}
    
    	if num, ok := field.TagSettings["SIZE"]; ok {
    		if field.Size, err = strconv.Atoi(num); err != nil {
    			field.Size = -1
    		}
    	}
    
    	if p, ok := field.TagSettings["PRECISION"]; ok {
    		field.Precision, _ = strconv.Atoi(p)
    	}
    
    	if s, ok := field.TagSettings["SCALE"]; ok {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  9. src/archive/zip/register.go

    		panic("compressor already registered")
    	}
    }
    
    func compressor(method uint16) Compressor {
    	ci, ok := compressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return ci.(Compressor)
    }
    
    func decompressor(method uint16) Decompressor {
    	di, ok := decompressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return di.(Decompressor)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. cmd/kms-handlers.go

    	if objectAPI == nil {
    		return
    	}
    
    	if GlobalKMS == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    
    	if _, ok := GlobalKMS.(kms.KeyManager); !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	metrics, err := GlobalKMS.Metrics(ctx)
    	if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top