Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1061 - 1070 of 4,103 for value0 (0.07 seconds)

  1. android/guava/src/com/google/common/base/Converter.java

     *       com.google.common.primitives.Ints#stringConverter Ints.stringConverter} or the {@linkplain
     *       #reverse reverse} views of these.
     *   <li>Convert between specific preset values using {@link
     *       com.google.common.collect.Maps#asConverter Maps.asConverter}. For example, use this to
     *       create a "fake" converter for a unit test. It is unnecessary (and confusing) to <i>mock</i>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/query-params-str-validations.md

    ///
    
    ### 理解这段代码 { #understand-that-code }
    
    关键点仅仅是:在 `Annotated` 中使用带函数的 **`AfterValidator`**。不感兴趣可以跳过这一节。🤸
    
    ---
    
    但如果你对这个具体示例好奇,并且还愿意继续看,这里有一些额外细节。
    
    #### 字符串与 `value.startswith()` { #string-with-value-startswith }
    
    注意到了吗?字符串的 `value.startswith()` 可以接收一个元组,它会检查元组中的每个值:
    
    {* ../../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:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

        protected Cache<String, Boolean> blockedIps;
    
        /**
         * Default constructor.
         */
        public RateLimitHelper() {
            // nothing
        }
    
        /**
         * Initialize caches with configuration values.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", this.getClass().getSimpleName());
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  5. src/cmd/cgo/doc.go

    Any C function (even void functions) may be called in a multiple
    assignment context to retrieve both the return value (if any) and the
    C errno variable as an error (use _ to skip the result value if the
    function returns void). For example:
    
    	n, err = C.sqrt(-1)
    	_, err := C.voidFunc()
    	var n, err = C.sqrt(1)
    
    Note that the C errno value may be non-zero, and thus the err result may be
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 08 22:37:14 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      private static final class RepeatedStringValueOfFunction
          implements Function<Integer, List<String>> {
        @Override
        public List<String> apply(Integer from) {
          String value = String.valueOf(from);
          return ImmutableList.of(value, value);
        }
      }
    
      public void testTransformAndConcat() {
        List<Integer> input = asList(1, 2, 3);
        Iterable<String> result =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

          dummy ^= JOINER_ON_CHARACTER.join(components).length();
        }
        return dummy;
      }
    
      /**
       * Mimics what the {@link Joiner} class does internally when no extra options like ignoring {@code
       * null} values are used.
       */
      @Benchmark
      int joinerInlined(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            buffer[8] = 0x10;
            buffer[9] = 0x00;
    
            int result = response.readParametersWireFormat(buffer, 0, 10);
    
            // Should read 10 bytes
            assertEquals(10, result);
            // Check the values were parsed correctly
            assertEquals(1, response.getSid());
            assertEquals(5, response.getNumEntries());
            assertTrue(response.isEndOfSearch());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            assertTrue((request.getFlags() & SMB2_FLAGS_ASYNC_COMMAND) != 0, "Async flag should be set for non-zero asyncId");
        }
    
        @Test
        @DisplayName("Test edge case with maximum values")
        void testMaximumValues() {
            // Given
            long maxMid = Long.MAX_VALUE;
            long maxAsyncId = Long.MAX_VALUE;
            int maxCredits = Integer.MAX_VALUE;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. tests/upsert_test.go

    		t.Errorf("UpdateAt should be changed when update values with assign")
    	}
    
    	DB.Where(&User{Name: "find or create 4"}).Assign(User{Age: 44}).FirstOrCreate(&user4)
    	if user4.Name != "find or create 4" || user4.ID == 0 || user4.Age != 44 {
    		t.Errorf("user should be created with search value and assigned attrs")
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top