Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5521 - 5530 of 7,804 for RETURN (0.14 seconds)

  1. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

            user.setName(username);
            user.setPassword(password);
            user.setRoles(new String[] { "role1", "role2" });
            user.setGroups(new String[] { "group1", "group2" });
            return user;
        }
    
        // Test LdapManager implementation
        private static class TestLdapManager extends LdapManager {
            boolean insertCalled = false;
            boolean deleteCalled = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception {
            // Arrange: stub to return true regardless of input
            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act
            boolean result = handle.hasCapability(cap);
    
            // Assert: verify return and the captured argument equals input
            assertTrue(result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. internal/config/storageclass/storage-class_test.go

    			t.Errorf("Test %d, Expected %s, got %s", i+1, tt.expectedError, err)
    			return
    		}
    		if err == nil && tt.expectedError != nil {
    			t.Errorf("Test %d, Expected %s, got %s", i+1, tt.expectedError, err)
    			return
    		}
    		if tt.expectedError == nil && !reflect.DeepEqual(gotSc, tt.wantSc) {
    			t.Errorf("Test %d, Expected %v, got %v", i+1, tt.wantSc, gotSc)
    			return
    		}
    		if tt.expectedError != nil && err.Error() != tt.expectedError.Error() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/DfsImplTest.java

            // Scenario: Transport connection fails
            when(mockCredentials.getUserDomain()).thenReturn("authdomain.com");
            // When transport fails, it should return false
            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        // Tests for getDc
        @Test
        void testGetDc_DfsDisabled() throws SmbAuthException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. docs_src/response_directly/tutorial002_py310.py

        data = """<?xml version="1.0"?>
        <shampoo>
        <Header>
            Apply shampoo here.
        </Header>
        <Body>
            You'll have to use soap here.
        </Body>
        </shampoo>
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 354 bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ClassToInstanceMap.java

       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       */
      <T extends @NonNull B> @Nullable T getInstance(Class<T> type);
    
      /**
       * Maps the specified class to the specified value. Does <i>not</i> associate this value with any
       * of the class's supertypes.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

         */
        private lsarpc() {
            // Utility class
        }
    
        /**
         * Returns the RPC syntax identifier for LSA RPC interface.
         *
         * @return the RPC syntax string
         */
        public static String getSyntax() {
            return "12345778-1234-abcd-ef00-0123456789ab:0.0";
        }
    
        /**
         * LSA Quality of Service information.
         */
        public static class LsarQosInfo extends NdrObject {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 42.5K bytes
    - Click Count (0)
  8. docs_src/query_params_str_validations/tutorial003_an_py310.py

    @app.get("/items/")
    async def read_items(
        q: Annotated[str | None, Query(min_length=3, max_length=50)] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 330 bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        }
    
        Sink(int chunkSize) {
          super(chunkSize);
          this.chunkSize = chunkSize;
          this.bufferSize = chunkSize;
        }
    
        @Override
        protected HashCode makeHash() {
          return HashCode.fromBytes(out.toByteArray());
        }
    
        @Override
        protected void process(ByteBuffer bb) {
          processCalled++;
          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt

      override fun newSSLContext(): SSLContext {
        StrictMode.noteSlowCall("newSSLContext")
    
        return super.newSSLContext()
      }
    
      override fun buildTrustRootIndex(trustManager: X509TrustManager): TrustRootIndex {
        StrictMode.noteSlowCall("buildTrustRootIndex")
    
        return super.buildTrustRootIndex(trustManager)
      }
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jul 20 11:25:50 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top