Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 626 for GetName (0.04 sec)

  1. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

         */
        @Test
        void testGetRemoteUser() {
            // Arrange: Define the expected user name from the principal
            String expectedUserName = "testUser";
            when(mockPrincipal.getName()).thenReturn(expectedUserName);
    
            // Act: Call the method under test
            String actualUserName = ntlmRequest.getRemoteUser();
    
            // Assert: Verify that the returned user name is the expected one
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/ExecJob.java

            if (jarFiles != null) {
                for (final File file : jarFiles) {
                    buf.append(cpSeparator);
                    buf.append(basePath);
                    buf.append(file.getName());
                }
            }
        }
    
        /**
         * Creates a timeout task for this job execution.
         * If timeout is not set or is <= 0, returns null.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                    int count = 0;
                    File[] dirs = baseDir.listFiles();
                    if (dirs != null) {
                        for (File dir : dirs) {
                            if (dir.isDirectory() && dir.getName().startsWith("_")) {
                                count++;
                            }
                        }
                    }
                    return count;
                }
            };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            }
    
            // Perform sequential operations
            for (User user : users) {
                chain.update(user);
                chain.changePassword(user.getName(), "newpass" + user.getName());
                chain.load(user);
                if (users.indexOf(user) % 2 == 0) {
                    chain.delete(user);
                }
            }
    
            // Verify all operations were tracked
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/bsentity/dbmeta/RoleDbm.java

        //                                       ---------------
        protected final Map<String, PropertyGateway> _epgMap = newHashMap();
        {
            setupEpg(_epgMap, et -> ((Role) et).getName(), (et, vl) -> ((Role) et).setName(DfTypeUtil.toString(vl)), "name");
        }
    
        @Override
        public PropertyGateway findPropertyGateway(final String prop) {
            return doFindEpg(_epgMap, prop);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            if (osddFile == null) {
                throw ComponentUtil.getResponseManager().new404("Unsupported Open Search Description Document response.");
            }
    
            return new StreamResponse(osddFile.getName()).contentType(contentType + "; charset=" + encoding).stream(out -> {
                try (InputStream ins = new FileInputStream(osddFile)) {
                    out.write(ins);
                }
            });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            // Test that the class exists and has the expected structure
            assertEquals("CustomSizeValidator should be in correct package", "org.codelibs.fess.validation.CustomSizeValidator",
                    CustomSizeValidator.class.getName());
    
            // Test that it implements ConstraintValidator
            assertTrue("Should implement ConstraintValidator",
                    jakarta.validation.ConstraintValidator.class.isAssignableFrom(CustomSizeValidator.class));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

            super(message);
          }
        }
    
        StackTraceException e = new StackTraceException("my message");
    
        String firstLine = quote(e.getClass().getName() + ": " + e.getMessage());
        String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*";
        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/eventbus/SubscriberRegistry.java

                      + "Subscriber methods cannot accept primitives. "
                      + "Consider changing the parameter to %s.",
                  method,
                  parameterTypes[0].getName(),
                  Primitives.wrap(parameterTypes[0]).getSimpleName());
    
              MethodIdentifier ident = new MethodIdentifier(method);
              if (!identifiers.containsKey(ident)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

        /**
         * Create a new durable handle response
         */
        public DurableHandleResponse() {
            // Reserved field initialized to zeros
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len != 8) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top