Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 3,329 for value0 (0.07 seconds)

  1. docs/zh-hant/docs/tutorial/query-params-str-validations.md

    ///
    
    ### 理解這段程式碼 { #understand-that-code }
    
    重點就是在 `Annotated` 中使用「`AfterValidator` 搭配函式」。如果你願意,可以略過這一節。🤸
    
    ---
    
    但如果你對這個範例感到好奇且仍有興致,以下是一些額外細節。
    
    #### 使用 `value.startswith()` 的字串 { #string-with-value-startswith }
    
    你注意到了嗎?字串的 `value.startswith()` 可以接收一個 tuple,並逐一檢查 tuple 中的每個值:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    #### 隨機項目 { #a-random-item }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

        }
    
        @Override
        public boolean containsKey(Object key) {
          return standardContainsKey(key);
        }
    
        @Override
        public boolean containsValue(Object value) {
          return standardContainsValue(value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> map) {
          standardPutAll(map);
        }
    
        @Override
        public @Nullable V remove(Object object) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          for (i in 0 until size) {
            if (!"Vary".equals(name(i), ignoreCase = true)) {
              continue
            }
    
            val value = value(i)
            if (result == null) {
              result = TreeSet(String.CASE_INSENSITIVE_ORDER)
            }
            for (varyField in value.split(',')) {
              result.add(varyField.trim())
            }
          }
          return result ?: emptySet()
        }
    
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  4. build-logic/src/main/kotlin/BndBuildAction.kt

        val gradleProperties = Properties()
        properties.get().forEach { (k, v) ->
          if (v is Provider<*>) {
            val value = v.getOrNull()
            if (value != null) gradleProperties[k] = value
          } else {
            gradleProperties[k] = v
          }
        }
    
        // Set default values if not present
        if (!gradleProperties.containsKey(Constants.BUNDLE_SYMBOLICNAME)) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * an application-specified ordering of lock acquisitions. The application defines the allowed
       * ordering with an {@code Enum} whose values each correspond to a lock type. The order in which
       * the values are declared dictates the allowed order of lock acquisition. In other words, locks
       * corresponding to smaller values of {@link Enum#ordinal()} should only be acquired before locks
       * with larger ordinals. Example:
       *
       * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

                request.writeBytesWireFormat(smallBuffer, 0);
            });
        }
    
        @Test
        @DisplayName("Test file ID boundary values")
        void testFileIdBoundaryValues() {
            // Test with file ID having maximum byte values
            byte[] maxFileId = new byte[16];
            Arrays.fill(maxFileId, (byte) 0xFF);
            Smb2FlushRequest maxRequest = new Smb2FlushRequest(mockConfig, maxFileId);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return predicate.apply(immutableEntry(key, value));
      }
    
      final class ValuePredicate implements Predicate<V> {
        @ParametricNullness private final K key;
    
        ValuePredicate(@ParametricNullness K key) {
          this.key = key;
        }
    
        @Override
        public boolean apply(@ParametricNullness V value) {
          return satisfies(key, value);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/path-params.md

    #### Получение *значения перечисления* { #get-the-enumeration-value }
    
    Можно получить фактическое значение (в данном случае - `str`) с помощью `model_name.value` или в общем случае `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *}
    
    /// tip | Подсказка
    
    Значение `"lenet"` также можно получить с помощью `ModelName.lenet.value`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 14K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            assertTrue(result.contains("searchStorageType=0"));
            assertTrue(result.contains("filename=\\test\\path\\"));
        }
    
        @Test
        @DisplayName("Test constants values")
        void testConstants() {
            // Test flag constants
            assertEquals(0x01, Trans2FindFirst2.FLAGS_CLOSE_AFTER_THIS_REQUEST);
            assertEquals(0x02, Trans2FindFirst2.FLAGS_CLOSE_IF_END_REACHED);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/SmbSessionTest.java

                Configuration result1 = mockSession.getConfig();
                Configuration result2 = mockSession.getConfig();
    
                assertSame(result1, result2, "getConfig() should return consistent values");
                verify(mockSession, times(2)).getConfig();
            }
        }
    
        @Nested
        @DisplayName("Resource Unwrapping Tests")
        class ResourceUnwrappingTest {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top