Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 1,533 for VALUES (0.26 sec)

  1. tests/update_test.go

    	if err := DB.Where("id = ?", user.ID).First(&result).Error; err != nil {
    		t.Errorf("errors happened when query: %v", err)
    	} else {
    		CheckUser(t, result, *user)
    	}
    
    	values := map[string]interface{}{"Active": true, "age": 5}
    	if res := DB.Model(user).Updates(values); res.Error != nil {
    		t.Errorf("errors happened when update: %v", res.Error)
    	} else if res.RowsAffected != 1 {
    		t.Errorf("rows affected should be 1, but got : %v", res.RowsAffected)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    	healDeleteDangling   = true
    	healObjectSelectProb = 1024 // Overall probability of a file being scanned; one in n.
    )
    
    var (
    	globalHealConfig heal.Config
    
    	// Sleeper values are updated when config is loaded.
    	scannerSleeper                       = newDynamicSleeper(2, time.Second, true) // Keep defaults same as config defaults
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // count == 1
        segment.count++;
        assertSame(value, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        // don't see absent values now that count > 0
        assertNull(segment.get(new Object(), hash));
    
        // null key
        InternalEntry<Object, Object, ?> nullEntry = segment.newEntryForTesting(null, hash, entry);
        Object nullValue = new Object();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // count == 1
        segment.count++;
        assertSame(value, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        // don't see absent values now that count > 0
        assertNull(segment.get(new Object(), hash));
    
        // null key
        InternalEntry<Object, Object, ?> nullEntry = segment.newEntryForTesting(null, hash, entry);
        Object nullValue = new Object();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1beta1/generated.proto

      optional bool storageCapacity = 4;
    
      // fsGroupPolicy defines if the underlying volume supports changing ownership and
      // permission of the volume before being mounted.
      // Refer to the specific FSGroupPolicy values for additional details.
      //
      // This field is immutable.
      //
      // Defaults to ReadWriteOnceWithFSType, which will examine each volume
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

      TFE_OpAddInput(op, tensor_handle, status);
      TF_DeleteTensor(tensor);
      TFE_DeleteTensorHandle(tensor_handle);
    
      std::vector<int64_t> values(4, 1);
      TFE_OpSetAttrIntList(op, "ksize", values.data(), values.size());
      TFE_OpSetAttrIntList(op, "strides", values.data(), values.size());
    
      const int BUFFER_SIZE = 10;
      char buffer[BUFFER_SIZE];
      std::strncpy(buffer, "VALID", BUFFER_SIZE);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val requestHeaders = request.headers
        assertThat(LinkedHashSet(requestHeaders.values("D"))).isEqualTo(newSet("e", "f"))
        assertThat(LinkedHashSet(requestHeaders.values("d"))).isEqualTo(newSet("e", "f"))
        val response = getResponse(request)
        response.close()
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.headers.values("D")).isEqualTo(listOf("e", "f"))
        assertThat(recordedRequest.headers["G"]).isNull()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  8. cmd/data-usage_test.go

    		gotv := got.Cache[wkey]
    		if !equalAsJSON(gotv, wval) {
    			t.Errorf("deserialize mismatch, key %v\nwant: %#v\ngot:  %#v", wkey, wval, gotv)
    		}
    	}
    }
    
    // equalAsJSON returns whether the values are equal when encoded as JSON.
    func equalAsJSON(a, b interface{}) bool {
    	aj, err := json.Marshal(a)
    	if err != nil {
    		panic(err)
    	}
    	bj, err := json.Marshal(b)
    	if err != nil {
    		panic(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.32.md

    ## Changelog since v1.32.0-alpha.1
    
    ## Changes by Kind
    
    ### API Change
    
    - Fixed a bug in the NestedNumberAsFloat64 Unstructured field accessor that could cause it to return rounded float64 values instead of errors when accessing very large int64 values. ([#128099](https://github.com/kubernetes/kubernetes/pull/128099), [@benluddy](https://github.com/benluddy)) [SIG API Machinery]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                        if (i == 0 && j < windowSize / 2) {
                            mainIdSet.add(id);
                        }
                    }
                }
            }
    
            final var docs = scoreDocMap.values().stream()
                    .sorted((e1, e2) -> Float.compare(toFloat(e2.get(scoreField)), toFloat(e1.get(scoreField)))).toList();
            int offset = 0;
            for (int i = 0; i < windowSize / 2 && i < docs.size(); i++) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top