Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1461 - 1470 of 6,020 for new1 (0.11 seconds)

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

            ImmutableList.of(
                ListTestSuiteBuilder.using(new ImmutableDoubleArrayAsListGenerator())
                    .named("ImmutableDoubleArray.asList"),
                ListTestSuiteBuilder.using(new ImmutableDoubleArrayHeadSubListAsListGenerator())
                    .named("ImmutableDoubleArray.asList, head subList"),
                ListTestSuiteBuilder.using(new ImmutableDoubleArrayTailSubListAsListGenerator())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            this.transportContext = tc;
            this.requestProperties = new HashMap<>();
            copySettings();
        }
    
        /**
         *
         */
        private final void copySettings() {
            try {
                this.setRequestMethod(this.connection.getRequestMethod());
            } catch (final ProtocolException e) {
                throw new RuntimeCIFSException("Failed to set request method", e);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                byte[] buffer = new byte[16];
                buffer[0] = 0x0F; // Invalid size (15 instead of 16)
                buffer[1] = 0x00;
    
                // When & Then - InvocationTargetException wraps the actual exception when using reflection
                Exception exception = assertThrows(Exception.class,
                        () -> invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

     */
    @NullUnmarked
    public class ReentrantEventsTest extends TestCase {
    
      static final String FIRST = "one";
      static final Double SECOND = 2.0d;
    
      final EventBus bus = new EventBus();
    
      public void testNoReentrantEvents() {
        ReentrantEventsHater hater = new ReentrantEventsHater();
        bus.register(hater);
    
        bus.post(FIRST);
    
        assertEquals(
            "ReentrantEventHater expected 2 events",
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java

            FileModelSource instance = new FileModelSource(tempFile);
    
            assertFalse(instance.equals(null), "Expected " + instance + " to not equal " + null);
            assertFalse(instance.equals(new Object()));
            assertTrue(instance.equals(instance), "Expected " + instance + " to equal " + instance);
            assertTrue(instance.equals(new FileModelSource(tempFile)));
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Maps.java

        Map<K, V> onlyOnLeft = new LinkedHashMap<>();
        Map<K, V> onlyOnRight = new LinkedHashMap<>(right); // will whittle it down
        Map<K, V> onBoth = new LinkedHashMap<>();
        Map<K, ValueDifference<V>> differences = new LinkedHashMap<>();
        doDifference(left, right, valueEquivalence, onlyOnLeft, onlyOnRight, onBoth, differences);
        return new MapDifferenceImpl<>(onlyOnLeft, onlyOnRight, onBoth, differences);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/SecureCredentialStorage.java

            if (masterPassword == null || masterPassword.length == 0) {
                throw new IllegalArgumentException("Master password cannot be null or empty");
            }
    
            // Generate salt for key derivation
            this.salt = new byte[SALT_SIZE];
            secureRandom.nextBytes(this.salt);
    
            // Derive master key from password
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            mockUrl = new URL("http://test.example.com/path");
    
            // Basic setup for mocks to avoid NullPointerExceptions
            when(mockConnection.getURL()).thenReturn(mockUrl);
            when(mockConnection.getRequestProperties()).thenReturn(new HashMap<>());
    
            // Mock CIFSContext behavior
            NtlmPasswordAuthentication creds = new NtlmPasswordAuthentication(
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java

            return asJson(new ApiConfigResponse().setting(accessTokenService.getAccessToken(id).map(this::createEditBody).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            })).status(Status.OK).result());
        }
    
        // POST /api/admin/accesstoken/setting
        /**
         * Creates a new access token setting.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/spnego/SpnegoException.java

        /**
         *
         */
        private static final long serialVersionUID = -4591854684249021395L;
    
        /**
         * Constructs a new SpnegoException with no detail message
         */
        public SpnegoException() {
        }
    
        /**
         * Constructs a new SpnegoException with the specified detail message and cause
         * @param message the detail message
         * @param cause the cause of this exception
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top