Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3861 - 3870 of 4,172 for value0 (0.13 seconds)

  1. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            for (E e : contents) {
              E unused = interner.intern(e);
            }
            return interner;
          }
        };
      }
    
      public enum Value {
        INSTANCE;
      }
    
      public enum ListSizeDistribution {
        UNIFORM_0_TO_2(0, 2),
        UNIFORM_0_TO_9(0, 9),
        ALWAYS_0(0, 0),
        ALWAYS_10(10, 10);
    
        final int min;
        final int max;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/HashCodeTest.java

        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
        assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode());
      }
    
      public void testRoundTripHashCodeUsingFromString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  3. cmd/naughty-disk_test.go

    type naughtyDisk struct {
    	// The real disk
    	disk StorageAPI
    	// Programmed errors: API call number => error to return
    	errors map[int]error
    	// The error to return when no error value is programmed
    	defaultErr error
    	// The current API call number
    	callNR int
    	// Data protection
    	mu sync.Mutex
    }
    
    func newNaughtyDisk(d StorageAPI, errs map[int]error, defaultErr error) *naughtyDisk {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. internal/grid/muxserver.go

    	}
    	if !m.checkSeq(msg.Seq) {
    		return
    	}
    	m.recvMu.Lock()
    	defer m.recvMu.Unlock()
    	if cap(m.inbound) == 0 {
    		m.disconnect("did not expect inbound message", true)
    		return
    	}
    	// Note, on EOF no value can be sent.
    	if msg.Flags&FlagEOF != 0 {
    		if len(msg.Payload) > 0 {
    			gridLogIf(m.ctx, fmt.Errorf("muxServer: EOF message with payload"))
    		}
    		if m.inbound != nil {
    			xioutil.SafeClose(m.inbound)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        }
      }
    
      private fun headersToList(response: MockResponse.Builder): List<String> {
        val headers = response.build().headers
        return headers.map { (key, value) -> "$key: $value" }.toList()
      }
    
      @Test
      fun closeWithoutStart() {
        val server = MockWebServer()
        server.close()
      }
    
      @Test
      fun closeViaClosable() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

         *     name for older cipher suites because the prefix is `SSL_` instead of `TLS_`.
         * @param value the integer identifier for this cipher suite. (Documentation only.)
         */
        private fun init(
          javaName: String,
          value: Int,
        ): CipherSuite {
          val suite = CipherSuite(javaName)
          INSTANCES[javaName] = suite
          return suite
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 39.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            );
        }
    
        // Helper methods
    
        private void setPrivateField(Object target, String fieldName, Object value) throws Exception {
            Field field = target.getClass().getDeclaredField(fieldName);
            field.setAccessible(true);
            field.set(target, value);
        }
    
        private void setResponseAsReceived(Smb2NegotiateResponse resp) throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/response-model.md

    ///
    
    #### 默认字段有实际值的数据 { #data-with-values-for-fields-with-defaults }
    
    但是,如果你的数据在具有默认值的模型字段中有实际的值,例如 ID 为 `bar` 的项:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    这些值将包含在响应中。
    
    #### 具有与默认值相同值的数据 { #data-with-the-same-values-as-the-defaults }
    
    如果数据具有与默认值相同的值,例如 ID 为 `baz` 的项:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        protected int streamCloseTimeout = 10;
    
        /**
         * Default constructor for ProcessHelper.
         * Initializes the process management system with default timeout values.
         */
        public ProcessHelper() {
            // Default constructor
        }
    
        /**
         * Cleanup method called when the bean is destroyed.
         * Stops all running processes and cleans up resources.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java

            // so context updates cannot be verified. This is expected behavior.
        }
    
        /**
         * Test convertWithFieldCheck() with different boost values.
         */
        @Test
        public void test_convertWithFieldCheck_withDifferentBoosts() {
            FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            float[] boostValues = { 0.5f, 1.0f, 2.0f, 5.0f, 10.0f };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
Back to Top