Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 496 for OK (0.15 sec)

  1. 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)
  2. 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)
  3. tensorflow/c/eager/c_api_test_util.cc

      TFE_Execute(op, &var_handle, &num_retvals, status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_DeleteOp(op);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      CHECK_EQ(1, num_retvals);
    
      // Assign 'value' to it.
      op = TFE_NewOp(ctx, "AssignVariableOp", status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_OpSetAttrType(op, "dtype", TF_FLOAT);
      TFE_OpAddInput(op, var_handle, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  4. statement.go

    		fieldValue, _ := field.ValueOf(stmt.Context, modelValue)
    		if v, ok := selectColumns[field.DBName]; (ok && v) || (!ok && !restricted) {
    			if mv, mok := stmt.Dest.(map[string]interface{}); mok {
    				if fv, ok := mv[field.Name]; ok {
    					return !utils.AssertEqual(fv, fieldValue)
    				} else if fv, ok := mv[field.DBName]; ok {
    					return !utils.AssertEqual(fv, fieldValue)
    				}
    			} else {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    	}
    	// Single calls do not support pinging.
    	if v, ok := c.inStream.Load(m.MuxID); ok {
    		pong := v.ping(m.Seq)
    		gridLogIf(ctx, c.queueMsg(m, &pong))
    	} else {
    		pong := pongMsg{NotFound: true}
    		gridLogIf(ctx, c.queueMsg(m, &pong))
    	}
    	return
    }
    
    func (c *Connection) handleDisconnectClientMux(m message) {
    	if v, ok := c.outgoing.Load(m.MuxID); ok {
    		if m.Flags&FlagPayloadIsErr != 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.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/relatedcontent/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
            return asJson(
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. internal/crypto/metadata.go

    	if IsMultiPart(metadata) {
    		return nil, true
    	}
    	if _, ok := metadata[MetaIV]; ok {
    		return nil, true
    	}
    	if _, ok := metadata[MetaAlgorithm]; ok {
    		return nil, true
    	}
    	if _, ok := metadata[MetaKeyID]; ok {
    		return nil, true
    	}
    	if _, ok := metadata[MetaDataEncryptionKey]; ok {
    		return nil, true
    	}
    	if _, ok := metadata[MetaContext]; ok {
    		return nil, true
    	}
    	return nil, false
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. istioctl/pkg/cli/mock_client.go

    	results, ok := c.Results[podName]
    	if !ok {
    		return nil, fmt.Errorf("unable to retrieve Pod: pods %q not found", podName)
    	}
    	return results, nil
    }
    
    func (c MockClient) EnvoyDoWithPort(ctx context.Context, podName, podNamespace, method, path string, port int) ([]byte, error) {
    	results, ok := c.Results[podName]
    	if !ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. cmd/iam.go

    	case <-sys.configLoaded:
    	default:
    		sys.store.LoadUser(ctx, accessKey)
    		loadUserCalled = true
    	}
    
    	u, ok = sys.store.GetUser(accessKey)
    	if !ok && !loadUserCalled {
    		sys.store.LoadUser(ctx, accessKey)
    		u, ok = sys.store.GetUser(accessKey)
    	}
    
    	return u, ok && u.Credentials.IsValid()
    }
    
    // Notify all other MinIO peers to load group.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  10. prepare_stmt.go

    	if sqldb, ok := db.ConnPool.(*sql.DB); ok {
    		return sqldb, nil
    	}
    
    	if dbConnector, ok := db.ConnPool.(GetDBConnector); ok && dbConnector != nil {
    		return dbConnector.GetDBConn()
    	}
    
    	return nil, ErrInvalidDB
    }
    
    func (db *PreparedStmtDB) Close() {
    	db.Mux.Lock()
    	defer db.Mux.Unlock()
    
    	for _, query := range db.PreparedSQL {
    		if stmt, ok := db.Stmts[query]; ok {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 28 08:47:39 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top