Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 2,437 for C_value (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

     * The interface has no instance methods, so the tests focus on
     * value correctness and array integrity.  A tiny Mockito example
     * demonstrates that the interface can be mocked if another class
     * depends on it.
     */
    public class WinErrorTest {
    
        @Nested
        @DisplayName("Constant value checks")
        class ConstantValues {
            @Test
            void successIsZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        }
    
        @Test
        void testGetAttributesDefault() {
            // Test default attributes value
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
            assertEquals(0x0000, response.getAttributes());
        }
    
        @Test
        void testGetSizeDefault() {
            // Test default file size value
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
            assertEquals(0, response.getSize());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          }
    
        /**
         * Adds a new header with the name and value. This may be used to add multiple headers with the
         * same name. Unlike [addHeader] this does not validate the name and
         * value.
         */
        public fun addHeaderLenient(
          name: String,
          value: Any,
        ): Builder =
          apply {
            addHeaderLenient(headers_, name, value.toString())
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * at one time; if a value is not available to be edited then [edit] will return null.
     *
     *  * When an entry is being **created** it is necessary to supply a full set of values; the empty
     *    value should be used as a placeholder if necessary.
     *
     *  * When an entry is being **edited**, it is not necessary to supply data for every value; values
     *    default to their previous value.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

        for (K key : sampleKeys()) {
          for (V value : sampleValues()) {
            resetContainer();
    
            List<V> values = multimap().get(key);
            List<V> expectedValues = copyToList(values);
    
            assertTrue(multimap().put(key, value));
            expectedValues.add(value);
    
            assertGet(key, expectedValues);
            assertEquals(value, values.get(values.size() - 1));
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ConfigTest.java

        @Test
        @DisplayName("Should get long property with default value")
        void testGetLongWithDefault() {
            assertEquals(1234567890123L, Config.getLong(testProperties, "test.long", 0L));
            assertEquals(987654321L, Config.getLong(testProperties, "nonexistent.long", 987654321L));
        }
    
        @Test
        @DisplayName("Should get InetAddress property with default value")
        void testGetInetAddressWithDefault() throws UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. .github/workflows/mint/nginx-8-node.conf

            server_name  localhost;
    
            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
            # To disable buffering
            proxy_buffering off;
            proxy_request_buffering off;
    
            location / {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 15 16:52:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Functions.java

          @ParametricNullness E value) {
        return new ConstantFunction<>(value);
      }
    
      private static final class ConstantFunction<E extends @Nullable Object>
          implements Function<@Nullable Object, E>, Serializable {
        @ParametricNullness private final E value;
    
        ConstantFunction(@ParametricNullness E value) {
          this.value = value;
        }
    
        @Override
        @ParametricNullness
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

      }
    
      @Test
      fun parseCacheControlHeaderValueIsRetained() {
        val value = "max-age=12"
        val headers = headersOf("Cache-Control", value)
        val cacheControl = parse(headers)
        assertThat(cacheControl.toString()).isSameAs(value)
      }
    
      @Test
      fun parseCacheControlHeaderValueInvalidatedByPragma() {
        val headers =
          headersOf(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/arena/arena.go

    	runtime_arena_arena_Slice(a.a, &sl, cap)
    	return sl[:len]
    }
    
    // Clone makes a shallow copy of the input value that is no longer bound to any
    // arena it may have been allocated from, returning the copy. If it was not
    // allocated from an arena, it is returned untouched. This function is useful
    // to more easily let an arena-allocated value out-live its arena.
    // T must be a pointer, a slice, or a string, otherwise this function will panic.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top