Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 7161 - 7170 of 7,804 for RETURN (0.04 seconds)

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

       * Float#valueOf}.
       */
      private static @Nullable Float referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
          return Float.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      private static void checkTryParse(String input) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

       * Float#valueOf}.
       */
      private static @Nullable Float referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
          return Float.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      private static void checkTryParse(String input) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/NetbiosNameTest.java

        }
    
        @Test
        @DisplayName("Should handle interface method contracts")
        void testMethodContracts() {
            // The interface should allow for various implementations
            // Test that methods can return any valid values
    
            // Names can be any string
            when(mockNetbiosName.getName()).thenReturn("ANYNAME");
            assertNotNull(mockNetbiosName.getName());
    
            // Scope can be null or any string
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

                java.lang.reflect.Field field = FessMessages.class.getDeclaredField("serialVersionUID");
                field.setAccessible(true);
                return field.getLong(null);
            } catch (Exception e) {
                fail("Failed to get serialVersionUID: " + e.getMessage());
                return -1;
            }
        }
    
        // Test error message methods without parameters
        @Test
        public void test_addErrorsFrontHeader() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .suppressing(BiMapInverseTester.getInverseSameAfterSerializingMethods())
                .createTestSuite());
        suite.addTestSuite(ImmutableBiMapTest.class);
    
        return suite;
      }
    
      // Creation tests
    
      public void testEmptyBuilder() {
        ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/ACETest.java

            void shouldHandleNullSID() {
                ACE ace = mock(ACE.class);
                when(ace.getSID()).thenReturn(null);
    
                SID result = ace.getSID();
                assertNull(result, "getSID() should return null when configured");
                verify(ace).getSID();
            }
    
            @Test
            @DisplayName("Should handle zero access mask")
            void shouldHandleZeroAccessMask() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  7. CLAUDE.md

    ### Action (Controller)
    - Hierarchy: `TypicalAction` → `FessBaseAction` → `FessAdminAction`/`FessSearchAction`
    - `@Execute` marks web endpoints
    - `@Resource` for DI
    - `@Secured({ "role", "role-view" })` for authorization
    - Return `HtmlResponse` for JSP, `JsonResponse` for APIs
    
    ### Service
    - Inject behaviors (Bhv) for data access
    - Use `OptionalEntity<T>` for nullable returns
    - Plain classes (no extends/implements)
    
    ### Helper
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 09:48:10 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  8. cmd/policy_test.go

    			t.Fatalf("case %v: expected: %v, got: %v\n", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func getReadOnlyStatement(bucketName, prefix string) []miniogopolicy.Statement {
    	return []miniogopolicy.Statement{
    		{
    			Effect:    string(policy.Allow),
    			Principal: miniogopolicy.User{AWS: set.CreateStringSet("*")},
    			Resources: set.CreateStringSet(policy.NewResource(bucketName).String()),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 8.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/net/PercentEscaperTest.java

      }
    
      /** Helper to manually escape a 7-bit ascii character */
      private String escapeAscii(char c) {
        Preconditions.checkArgument(c < 128);
        String hex = "0123456789ABCDEF";
        return "%" + hex.charAt((c >> 4) & 0xf) + hex.charAt(c & 0xf);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/body-updates.md

        * This is comparable to using the model's `.model_dump()` method again, but it makes sure (and converts) the values to data types that can be converted to JSON, for example, `datetime` to `str`.
    * Save the data to your DB.
    * Return the updated model.
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[28:35] *}
    
    /// tip
    
    You can actually use this same technique with an HTTP `PUT` operation.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top