Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 752 for OK (0.12 sec)

  1. cmd/bucket-replication.go

    	}
    	if disp, ok := lkMap.Lookup(xhttp.ContentDisposition); ok {
    		putOpts.ContentDisposition = disp
    	}
    	if cc, ok := lkMap.Lookup(xhttp.CacheControl); ok {
    		putOpts.CacheControl = cc
    	}
    	if mode, ok := lkMap.Lookup(xhttp.AmzObjectLockMode); ok {
    		rmode := minio.RetentionMode(mode)
    		putOpts.Mode = rmode
    	}
    	if retainDateStr, ok := lkMap.Lookup(xhttp.AmzObjectLockRetainUntilDate); ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. scan.go

    			mapValue[column] = reflectValue.Interface()
    			if valuer, ok := mapValue[column].(driver.Valuer); ok {
    				mapValue[column], _ = valuer.Value()
    			} else if b, ok := mapValue[column].(sql.RawBytes); ok {
    				mapValue[column] = string(b)
    			}
    		} else {
    			mapValue[column] = nil
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  3. tensorflow/c/checkpoint_reader.cc

        tensorflow::TensorShape shape;
        status = v2_reader_->LookupDtypeAndShape(name, &dtype, &shape);
        if (status.ok()) {
          out_tensor->reset(new Tensor(dtype, shape));
          status = v2_reader_->Lookup(name, out_tensor->get());
          if (!status.ok()) out_tensor->reset();
        }
      }
      if (!status.ok()) {
        tsl::Set_TF_Status_from_Status(out_status, status);
      }
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    }
    
    // Verify if request has AWS PreSign Version '4'.
    func isRequestPresignedSignatureV4(r *http.Request) bool {
    	_, ok := r.Form[xhttp.AmzCredential]
    	return ok
    }
    
    // Verify request has AWS PreSign Version '2'.
    func isRequestPresignedSignatureV2(r *http.Request) bool {
    	_, ok := r.Form[xhttp.AmzAccessKeyID]
    	return ok
    }
    
    // Verify if request has AWS Post policy Signature Version '4'.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. 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)
  6. internal/hash/reader.go

    	}
    
    	if size >= 0 {
    		r := ioutil.HardLimitReader(src, size)
    		if !disableMD5 {
    			if _, ok := src.(etag.Tagger); !ok {
    				src = etag.NewReader(ctx, r, MD5, forceMD5)
    			} else {
    				src = etag.Wrap(r, src)
    			}
    		} else {
    			src = r
    		}
    	} else if _, ok := src.(etag.Tagger); !ok {
    		if !disableMD5 {
    			src = etag.NewReader(ctx, src, MD5, forceMD5)
    		}
    	}
    	var h hash.Hash
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  7. tests/main_test.go

    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    	if value, ok := DB.Set("hello", "world").Get("hello"); !ok {
    		t.Errorf("Should be able to get setting after set")
    	} else if value.(string) != "world" {
    		t.Errorf("Set value should not be changed")
    	}
    
    	if _, ok := DB.Get("non_existing"); ok {
    		t.Errorf("Get non existing key should return error")
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  8. internal/config/lambda/event/targetlist.go

    }
    
    // Add - adds unique target to target list.
    func (list *TargetList) Add(targets ...Target) error {
    	list.Lock()
    	defer list.Unlock()
    
    	for _, target := range targets {
    		if _, ok := list.targets[target.ID()]; ok {
    			return fmt.Errorf("target %v already exists", target.ID())
    		}
    		list.targets[target.ID()] = target
    	}
    
    	return nil
    }
    
    // Lookup - checks whether target by target ID exists is valid or not.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/custom_device_test.cc

      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      bool arrived = false;
      bool executed = false;
      const char* name = "/job:localhost/replica:0/task:0/device:CUSTOM:0";
      RegisterLoggingDevice(context, name, /*strict_scope_placement=*/true,
                            &arrived, &executed, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  10. 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)
Back to top