Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 3,272 for VALUE (0.16 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        AtomicLongMap<String> map = AtomicLongMap.create();
        String key = "key";
        long value = random.nextInt(MAX_ADDEND);
        assertEquals(0L, map.get(key));
        assertFalse(map.containsKey(key));
    
        assertEquals(value, map.addAndGet(key, value));
        assertEquals(value, map.get(key));
    
        assertEquals(0L, map.addAndGet(key, -1 * value));
        assertEquals(0L, map.get(key));
        assertTrue(map.containsKey(key));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                final String key = e.getKey();
                Object value = e.getValue();
                if (value == null) {
                    value = StringUtil.EMPTY;
                }
                if (value instanceof String || value == null) {
                    return new Pair<>(key, value);
                }
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

      // A simple type whose .toString() will return the same value each time, but without maintaining
      // a strong reference to that value.
      static class Key {
        private final int value;
        private WeakReference<String> toString;
    
        Key(int value) {
          this.value = value;
        }
    
        @Override
        public synchronized String toString() {
          String s;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

     * This class encapsulates a single byte value (0-255) in NDR format.
     */
    public class NdrSmall extends NdrObject {
    
        /**
         * The small integer value (0-255)
         */
        public int value;
    
        /**
         * Constructs an NdrSmall with the specified value
         * @param value the small integer value (will be masked to 0-255 range)
         */
        public NdrSmall(final int value) {
            this.value = value & 0xFF;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/lang/SystemUtil.java

         * @return the property value, or the default value if not found
         */
        public static String getProperty(String key, String defaultValue) {
            return System.getProperty(key, defaultValue);
        }
    
        /**
         * Returns the system environment variable value for the specified key.
         *
         * @param key the environment variable key
         * @return the environment variable value, or null if not found
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. internal/bucket/object/lock/lock_test.go

    	testCases := []struct {
    		value        string
    		expectedMode RetMode
    	}{
    		{
    			value:        "governance",
    			expectedMode: RetGovernance,
    		},
    		{
    			value:        "complIAnce",
    			expectedMode: RetCompliance,
    		},
    		{
    			value:        "gce",
    			expectedMode: "",
    		},
    	}
    
    	for _, tc := range testCases {
    		if parseRetMode(tc.value) != tc.expectedMode {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                    int value = field.getInt(null);
                    // All values should be positive
                    assertTrue(value > 0, "Constant " + field.getName() + " should have positive value");
                    // Values should be within reasonable range for security flags
                    assertTrue(value <= 0xFFFF, "Constant " + field.getName() + " value seems unusually large");
                }
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsLabelType.java

            checkSpecifiedProperty("value");
            return convertEmptyToNull(value);
        }
    
        public void setValue(String value) {
            registerModifiedProperty("value");
            this.value = value;
        }
    
        public String getVirtualHost() {
            checkSpecifiedProperty("virtualHost");
            return convertEmptyToNull(virtualHost);
        }
    
        public void setVirtualHost(String value) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/Longs.java

       *
       * @param value a primitive {@code long} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Long.hashCode(value)")
      public static int hashCode(long value) {
        return Long.hashCode(value);
      }
    
      /**
       * Compares the two specified {@code long} values. The sign of the value returned is the same as
       * that of {@code ((Long) a).compareTo(b)}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            byte[] buffer = new byte[8];
            long value = 42L;
            SMBUtil.writeInt8(value, buffer, 0);
    
            // Decode with minimum length
            int bytesRead = fileInfo.decode(buffer, 0, 8);
    
            assertEquals(8, bytesRead);
            assertTrue(fileInfo.toString().contains("endOfFile=" + value));
        }
    
        @Test
        @DisplayName("Test decode ignores extra buffer length")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top