Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 3,810 for value2 (0.04 seconds)

  1. android/guava/src/com/google/common/math/DoubleMath.java

        checkArgument(values.hasNext(), "Cannot take mean of 0 values");
        long count = 1;
        double mean = checkFinite(values.next().doubleValue());
        while (values.hasNext()) {
          double value = checkFinite(values.next().doubleValue());
          count++;
          // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
          mean += (value - mean) / count;
        }
        return mean;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. callbacks/helper_test.go

    				Values:  [][]interface{}{{"my name"}},
    			},
    		},
    		{
    			name: "Test convert int value",
    			input: map[string]interface{}{
    				"age": 18,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "age"}},
    				Values:  [][]interface{}{{18}},
    			},
    		},
    		{
    			name: "Test convert float value",
    			input: map[string]interface{}{
    				"score": 99.5,
    			},
    			expect: clause.Values{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Mar 05 02:22:57 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            assertTrue(queryCommand.lowercaseWildcard);
        }
    
        @Test
        public void test_convertWildcardQuery_withBoost() throws Exception {
            // Test with different boost values
            QueryContext queryContext = new QueryContext("test*", false);
            WildcardQuery wildcardQuery = new WildcardQuery(new Term("title", "test*"));
    
            // Test with boost = 0.5
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  4. cmd/signature-v2_test.go

    		},
    	}
    
    	// Run each test case individually.
    	for i, testCase := range testCases {
    		// Turn the map[string]string into map[string][]string, because Go.
    		query := url.Values{}
    		for key, value := range testCase.queryParams {
    			query.Set(key, value)
    		}
    		// Create a request to use.
    		req, err := http.NewRequest(http.MethodGet, "http://host/a/b?"+query.Encode(), nil)
    		if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/SmbSessionTest.java

                Configuration result1 = mockSession.getConfig();
                Configuration result2 = mockSession.getConfig();
    
                assertSame(result1, result2, "getConfig() should return consistent values");
                verify(mockSession, times(2)).getConfig();
            }
        }
    
        @Nested
        @DisplayName("Resource Unwrapping Tests")
        class ResourceUnwrappingTest {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

        }
    
        @Override
        public boolean containsKey(Object key) {
          return standardContainsKey(key);
        }
    
        @Override
        public boolean containsValue(Object value) {
          return standardContainsValue(value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> map) {
          standardPutAll(map);
        }
    
        @Override
        public @Nullable V remove(Object object) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/server-sent-events.md

    The `data` field is always encoded as JSON. You can pass any value that can be serialized as JSON, including Pydantic models.
    
    ## Raw Data { #raw-data }
    
    If you need to send data **without** JSON encoding, use `raw_data` instead of `data`.
    
    This is useful for sending pre-formatted text, log lines, or special <dfn title="A value used to indicate a special condition or state">"sentinel"</dfn> values like `[DONE]`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  8. fastapi/sse.py

        All `data` values **including plain strings** are JSON-serialized.
    
        For example, `data="hello"` produces `data: "hello"` on the wire (with
        quotes).
        """
    
        data: Annotated[
            Any,
            Doc(
                """
                The event payload.
    
                Can be any JSON-serializable value: a Pydantic model, dict, list,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  9. tensorflow/c/eager/c_api_test.cc

      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);
      TFE_OpSetAttrString(op, "padding", buffer, std::strlen(buffer));
      // Overwriting value in "buffer", should be fine since TFE_Op
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbOperationException.java

         *
         * @param key the context key
         * @param value the context value
         * @return this exception for chaining
         */
        public SmbOperationException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Add multiple context values
         *
         * @param contextMap the context map to add
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top