Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 3,272 for _value (0.26 seconds)

  1. tests/test_allow_inf_nan_in_enforcing.py

        "value,code",
        [
            ("-1", 200),
            ("inf", 422),
            ("-inf", 422),
            ("nan", 422),
            ("0", 200),
            ("342", 200),
        ],
    )
    def test_allow_inf_nan_param_false(value: str, code: int):
        response = client.post(f"/?y={value}")
        assert response.status_code == code, response.text
    
    
    @pytest.mark.parametrize(
        "value,code",
        [
            ("-1", 200),
            ("inf", 200),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertTrue(fileInfo.toString().contains("endOfFile=" + value));
        }
    
        @Test
        @DisplayName("Test decode ignores extra buffer length")
        void testDecodeIgnoresExtraLength() throws SMBProtocolDecodingException {
            // Create larger buffer
            byte[] buffer = new byte[100];
            long value = 999L;
            SMBUtil.writeInt8(value, buffer, 0);
    
    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)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

            continue@loop
          }
        }
    
        var pos = 0
        while (pos < value.length) {
          val tokenStart = pos
          pos = value.indexOfElement("=,;", pos)
          val directive = value.substring(tokenStart, pos).trim()
          val parameter: String?
    
          if (pos == value.length || value[pos] == ',' || value[pos] == ';') {
            pos++ // Consume ',' or ';' (if necessary).
            parameter = null
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                    // Values should be within reasonable range for security flags
                    assertTrue(value <= 0xFFFF, "Constant " + field.getName() + " value seems unusually large");
                }
            }
        }
    
        /**
         * Helper method to check if a number is a power of two
         */
        private boolean isPowerOfTwo(int n) {
            return n > 0 && (n & (n - 1)) == 0;
        }
    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)
  5. internal/lru/lru.go

    }
    
    // Peek returns the key value (or undefined if not found) without updating
    // the "recently used"-ness of the key.
    func (c *LRU[K, V]) Peek(key K) (value V, ok bool) {
    	c.mu.RLock()
    	defer c.mu.RUnlock()
    	var ent *Entry[K, V]
    	if ent, ok = c.items[key]; ok {
    		// Expired item check
    		if time.Now().After(ent.ExpiresAt) {
    			return value, false
    		}
    		return ent.Value, true
    	}
    	return
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        initMapWithNullValue();
    
        // putIfAbsent should replace the null value with the new value
        assertNull(
            "putIfAbsent(existingKeyWithNullValue, value) should return null",
            getMap().putIfAbsent(getKeyForNullValue(), v3()));
        assertEquals("Map should now contain the new value", v3(), getMap().get(getKeyForNullValue()));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsCrawlingInfo.java

        }
    
        public void setName(String value) {
            registerModifiedProperty("name");
            this.name = value;
        }
    
        public String getSessionId() {
            checkSpecifiedProperty("sessionId");
            return convertEmptyToNull(sessionId);
        }
    
        public void setSessionId(String value) {
            registerModifiedProperty("sessionId");
            this.sessionId = value;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

                }
                value = convertProperty(beanType, paramType.getRawType(), paramType.getType(), configuration);
            }
    
            if (value != null) {
                try {
                    if (listener != null) {
                        listener.notifyFieldChangeUsingSetter("", value, bean);
                    }
                    setterInfo.method.invoke(bean, value);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. internal/s3select/sql/funceval.go

    		fallthrough
    
    	default:
    		return nil, errNotImplemented
    	}
    }
    
    func coalesce(args []*Value) (res *Value, err error) {
    	for _, arg := range args {
    		if arg.IsNull() {
    			continue
    		}
    		return arg, nil
    	}
    	return FromNull(), nil
    }
    
    func nullif(v1, v2 *Value) (res *Value, err error) {
    	// Handle Null cases
    	if v1.IsNull() || v2.IsNull() {
    		return v1, nil
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param value the timestamp in milliseconds
         * @return Date object representing the timestamp, or null if value is null
         */
        public static Date date(final Long value) {
            if (value == null) {
                return null;
            }
            return new Date(value);
        }
    
        /**
         * Parses a date string using the default date format.
         *
         * @param value the date string to parse
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
Back to Top