Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 125 for SINGLE (0.95 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            testUser.setRoleNames(new String[] {});
            assertFalse(fessUserBean.hasRole("admin"));
    
            // Test with single role - matching
            testUser.setRoleNames(new String[] { "admin" });
            assertTrue(fessUserBean.hasRole("admin"));
    
            // Test with single role - not matching
            assertFalse(fessUserBean.hasRole("user"));
    
            // Test with multiple roles
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. fastapi/security/oauth2.py

            ],
            scope: Annotated[
                str,
                Form(),
                Doc(
                    """
                    A single string with actually several scopes separated by spaces. Each
                    scope is also a string.
    
                    For example, a single string with:
    
                    ```python
                    "items:read items:write users:read profile openid"
                    ````
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  3. fastapi/param_functions.py

                'Whitelist' validation step. The parameter field will be the single one
                allowed by the alias or set of aliases defined.
                """
            ),
        ] = None,
        serialization_alias: Annotated[
            str | None,
            Doc(
                """
                'Blacklist' validation step. The vanilla parameter field will be the
                single one of the alias' or set of aliases' fields and all the other
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

        }
    
        @Test
        public void test_getInputsValue_withSingleInput() {
            // Test with single input
            String[] inputs = { "single" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
    
            assertEquals("single", item.getInputsValue());
        }
    
        @Test
        public void test_getInputsValue_withNullInputs() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertNotNull(valueMethod);
            assertEquals(String[].class, valueMethod.getReturnType());
            assertEquals(0, valueMethod.getParameterCount());
        }
    
        // Test class with single role
        @Secured({ "ROLE_USER" })
        static class SingleRoleClass {
            public void testMethod() {
            }
        }
    
        // Test class with multiple roles
        @Secured({ "ROLE_USER", "ROLE_ADMIN" })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/asm/testdata/riscv64.s

    	AMOMIND		X5, (X6), X7			// af335386
    	AMOMINUW	X5, (X6), X7			// af2353c6
    	AMOMINUD	X5, (X6), X7			// af3353c6
    
    	// 20.5: Single-Precision Load and Store Instructions
    	FLW	(X5), F0				// 07a00200
    	FLW	4(X5), F0				// 07a04200
    	FSW	F0, (X5)				// 27a00200
    	FSW	F0, 4(X5)				// 27a20200
    
    	// 20.6: Single-Precision Floating-Point Computational Instructions
    	FADDS	F1, F0, F2				// 53011000
    	FSUBS	F1, F0, F2				// 53011008
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Apr 04 05:25:40 GMT 2026
    - 74.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(removalListener.getCount()).isEqualTo(2);
    
        // Should we pepper more of these calls throughout the above? Where?
        CacheTesting.checkValidState(cache);
      }
    
      /**
       * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately
       * evicted and nothing else.
       */
      public void testEviction_maxWeight_entryTooBig() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt

     * Parse all headers delimited by "\r\n" until an empty line. This throws if headers exceed 256 KiB.
     */
    class HeadersReader(
      val source: BufferedSource,
    ) {
      private var headerLimit = HEADER_LIMIT
    
      /** Read a single line counted against the header size limit. */
      fun readLine(): String {
        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(removalListener.getCount()).isEqualTo(2);
    
        // Should we pepper more of these calls throughout the above? Where?
        CacheTesting.checkValidState(cache);
      }
    
      /**
       * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately
       * evicted and nothing else.
       */
      public void testEviction_maxWeight_entryTooBig() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  10. doc/next/3-tools.md

    <!-- go.dev/issue/77177 -->
    
    Response file (`@file`) parsing is now supported for the `compile`, `link`, `asm`, `cgo`, `cover`, and `pack` tools.
    The response file contains whitespace-separated arguments with support for single-quoted and double-quoted strings, escape sequences, and backslash-newline line continuation.
    The format is compatible with GCC's response file implementation to ensure interoperability with existing build systems.
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 19 02:58:52 GMT 2026
    - 757 bytes
    - Click Count (0)
Back to Top