Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 2,653 for Value1 (0.04 sec)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

          assertThat(Shorts.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (short value : VALUES) {
          assertThat(Shorts.saturatedCast((long) value)).isEqualTo(value);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbPipeResourceTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbPipeResource interface.
     * This test class primarily verifies the constant values defined in the interface.
     */
    class SmbPipeResourceTest {
    
        /**
         * Test if the PIPE_TYPE_RDONLY constant has the correct value.
         */
        @Test
        void testPipeTypeRdonly() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            offset += 4;
            buffer[offset++] = (byte) 0xFF; // Non-zero value for deletePending
            buffer[offset++] = (byte) 0x80; // Non-zero value for directory
    
            // Decode
            int bytesDecoded = fileStandardInfo.decode(buffer, 0, buffer.length);
    
            // Verify - non-zero values should be treated as true
            assertEquals(22, bytesDecoded);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Builds a cache, which either returns an already-loaded value for a given key or atomically
       * computes or retrieves it using the supplied {@code CacheLoader}. If another thread is currently
       * loading the value for this key, simply waits for that thread to finish and returns its loaded
       * value. Note that multiple threads can concurrently load values for distinct keys.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt

      }
    
    /**
     * Set a field with the specified value. If the field is not found, it is added. If the field is
     * found, the existing values are replaced.
     */
    internal fun Headers.Builder.commonSet(
      name: String,
      value: String,
    ) = apply {
      headersCheckName(name)
      headersCheckValue(value, name)
      removeAll(name)
      commonAddLenient(name, value)
    }
    
    /** Equivalent to `build().get(name)`, but potentially faster. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

      /**
       * Returns a collection that simulates concurrent modification by having its size method return
       * incorrect values. This is useful for testing methods that must treat the return value from
       * size() as a hint only.
       *
       * @param delta the difference between the true size of the collection and the values returned by
       *     the size method
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            String value = request.getParameter("type");
            if (value == null) {
                final String servletPath = request.getServletPath();
                final String[] values = servletPath.replaceAll("/+", "/").split("/");
                if (values.length > 2) {
                    value = values[2];
                }
            }
            if (value == null) {
                return FormatType.SEARCH;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-params-numeric-validations.md

    Number validations also work for `float` values.
    
    Here's where it becomes important to be able to declare <abbr title="greater than"><code>gt</code></abbr> and not just <abbr title="greater than or equal"><code>ge</code></abbr>. As with it you can require, for example, that a value must be greater than `0`, even if it is less than `1`.
    
    So, `0.5` would be a valid value. But `0.0` or `0` would not.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

                assertEquals(expectedUuid, actualUuid, "DCERPC_UUID_SYNTAX_NDR should have the correct UUID value");
            }
        }
    
        @Nested
        @DisplayName("Fragment Flag Constants Tests")
        class FragmentFlagTests {
    
            @Test
            @DisplayName("DCERPC_FIRST_FRAG should have correct value")
            void testDcerpcFirstFrag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. generics.go

    }
    
    func (c *g[T]) Raw(sql string, values ...interface{}) ExecInterface[T] {
    	return execG[T]{g: &g[T]{
    		db: c.db,
    		ops: append(c.ops, func(db *DB) *DB {
    			var r T
    			return db.Model(r).Raw(sql, values...)
    		}),
    	}}
    }
    
    func (c *g[T]) Exec(ctx context.Context, sql string, values ...interface{}) error {
    	var r T
    	return c.apply(ctx).Model(r).Exec(sql, values...).Error
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top