Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 696 for OK (0.12 sec)

  1. internal/config/identity/openid/jwt.go

    	}
    
    	keyFuncCallback := func(jwtToken *jwtgo.Token) (interface{}, error) {
    		kid, ok := jwtToken.Header["kid"].(string)
    		if !ok {
    			return nil, fmt.Errorf("Invalid kid value %v", jwtToken.Header["kid"])
    		}
    		return r.pubKeys.get(kid), nil
    	}
    
    	pCfg, ok := r.arnProviderCfgsMap[arn]
    	if !ok {
    		return fmt.Errorf("Role %s does not exist", arn)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  2. cmd/erasure-metadata.go

    	if fi.TransitionTier != "" {
    		objInfo.StorageClass = fi.TransitionTier
    	} else if sc, ok := fi.Metadata[xhttp.AmzStorageClass]; ok {
    		objInfo.StorageClass = sc
    	} else {
    		objInfo.StorageClass = globalMinioDefaultStorageClass
    	}
    
    	// set restore status for transitioned object
    	restoreHdr, ok := fi.Metadata[xhttp.AmzRestore]
    	if ok {
    		if restoreStatus, err := parseRestoreObjStatus(restoreHdr); err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  3. schema/schema_helper_test.go

    				f.TagSettings = schema.ParseTagSetting(f.Tag.Get("gorm"), ";")
    			} else {
    				f.TagSettings = map[string]string{}
    			}
    		}
    
    		parsedField, ok := s.FieldsByDBName[f.DBName]
    		if !ok {
    			parsedField, ok = s.FieldsByName[f.Name]
    		}
    
    		if !ok {
    			t.Errorf("schema %v failed to look up field with name %v", s, f.Name)
    		} else {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. 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 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    				}
    				if v, ok := columnType.Comment(); !ok || v != "my age" {
    					t.Fatalf("column age comment should be correct, name: %v, column: %#v", columnType.Name(),
    						columnType)
    				}
    			case "code":
    				if v, ok := columnType.Unique(); !ok || !v {
    					t.Fatalf("column code unique should be correct, name: %v, column: %#v", columnType.Name(),
    						columnType)
    				}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. 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)
  7. callbacks/update.go

    							assignValue(field, value[k])
    						}
    					} else if v, ok := selectColumns[field.Name]; (ok && v) || (!ok && !restricted) {
    						assignValue(field, value[k])
    					}
    					continue
    				}
    			}
    
    			if v, ok := selectColumns[k]; (ok && v) || (!ok && !restricted) {
    				set = append(set, clause.Assignment{Column: clause.Column{Name: k}, Value: kv})
    			}
    		}
    
    		if !stmt.SkipHooks && stmt.Schema != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 05:44:55 GMT 2024
    - 9.4K bytes
    - Viewed (1)
  8. tensorflow/c/eager/parallel_device/parallel_device_test.cc

            TFE_DeleteOp);
        if (TF_GetCode(status.get()) != TF_OK) return;
        TFE_OpSetAttrInt(op.get(), "num_replicas", 1);
        TFE_OpAddInput(op.get(), value_one.get(), status.get());
        if (TF_GetCode(status.get()) != TF_OK) return;
        TFE_OpSetDevice(op.get(), device_name, status.get());
        if (TF_GetCode(status.get()) != TF_OK) return;
    
        TFE_TensorHandle* result_handles;
        int num_retvals = 1;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  9. tensorflow/c/eager/c_api_distributed_test.cc

                      .ok());
      ASSERT_TRUE(worker_server1->Start().ok());
    
      server_def.set_task_index(2);
      std::unique_ptr<tensorflow::GrpcServer> worker_server2;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
                      server_def, tensorflow::Env::Default(), &worker_server2)
                      .ok());
      ASSERT_TRUE(worker_server2->Start().ok());
    
      TF_Status* status = TF_NewStatus();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/grappler/grappler_test.cc

        TF_SetStatus(status, TF_OK, "");
        PopulateDefaultParam(params);
        params->device_type = "Device0";
      };
      auto plugin_init_1 = [](TP_OptimizerRegistrationParams* const params,
                              TF_Status* const status) -> void {
        TF_SetStatus(status, TF_OK, "");
        PopulateDefaultParam(params);
        params->device_type = "Device1";
      };
    
      TF_ASSERT_OK(InitGraphPlugin(plugin_init_0));
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top