Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for OK (0.12 sec)

  1. tests/callbacks_test.go

    	createCallback.Remove("c1")
    	if ok, msg := assertCallbacks(createCallback, []string{"c3", "c4", "c2"}); !ok {
    		t.Errorf("callbacks tests failed, got %v", msg)
    	}
    
    	createCallback.Remove("c4")
    	if ok, msg := assertCallbacks(createCallback, []string{"c3", "c2"}); !ok {
    		t.Errorf("callbacks tests failed, got %v", msg)
    	}
    
    	createCallback.Remove("c2")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/bucket-policy.go

    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    	if grpsVal, ok := claims["groups"]; ok {
    		if grpsIs, ok := grpsVal.([]interface{}); ok {
    			grps := []string{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/nn_grad_test.cc

        status_ = StatusFromTF_Status(status.get());
        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
        {
          AbstractContext* ctx_raw = nullptr;
          status_ =
              BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw);
          ASSERT_EQ(errors::OK, status_.code()) << status_.message();
          immediate_execution_ctx_.reset(ctx_raw);
        }
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  4. utils/utils.go

    	yval := reflect.ValueOf(y)
    	if xval.Kind() == reflect.Ptr && xval.IsNil() ||
    		yval.Kind() == reflect.Ptr && yval.IsNil() {
    		return false
    	}
    
    	if valuer, ok := x.(driver.Valuer); ok {
    		x, _ = valuer.Value()
    	}
    	if valuer, ok := y.(driver.Valuer); ok {
    		y, _ = valuer.Value()
    	}
    	return reflect.DeepEqual(x, y)
    }
    
    func ToString(value interface{}) string {
    	switch v := value.(type) {
    	case string:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. 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)
  6. internal/s3select/sql/jsonpath.go

    				return nil, false, err
    			}
    			return jsonpathEval(p[1:], val)
    		default:
    			return nil, false, errKeyLookup
    		}
    
    	case p[0].Index != nil:
    		idx := *p[0].Index
    
    		arr, ok := v.([]interface{})
    		if !ok {
    			return nil, false, errIndexLookup
    		}
    
    		if idx >= len(arr) {
    			return nil, false, nil
    		}
    		return jsonpathEval(p[1:], arr[idx])
    
    	case p[0].ObjectWildcard:
    		switch kvs := v.(type) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. cmd/metrics-v3-handler.go

    		if collPath.isDescendantOf(path) {
    			if v, ok := h.metricsData.mgMap[collPath]; ok {
    				matchingMG[collPath] = v
    			} else {
    				matchingMG[collPath] = h.metricsData.bucketMGMap[collPath]
    			}
    		}
    	}
    
    	if len(matchingMG) == 0 {
    		return nil
    	}
    
    	var metrics []metricDisplay
    	for _, collectorPath := range h.metricsData.collectorPaths {
    		if mg, ok := matchingMG[collectorPath]; ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/role/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

                            .map(protwordsItem -> createEditBody(protwordsItem, dictId)).collect(Collectors.toList()))
                    .status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/dict/protwords/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String dictId, final long id) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. internal/event/targetlist.go

    	defer list.statLock.Unlock()
    
    	stats, ok := list.targetStats[id]
    	if !ok {
    		stats = targetStat{}
    	}
    
    	stats.currentSendCalls++
    	list.targetStats[id] = stats
    	return
    }
    
    func (list *TargetList) decCurrentSendCalls(id TargetID) {
    	list.statLock.Lock()
    	defer list.statLock.Unlock()
    
    	stats, ok := list.targetStats[id]
    	if !ok {
    		// should not happen
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top