Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 5,228 for newA (0.02 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java

     *
     */
    class ParentTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Parent().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Parent().equals(null));
    
            new Parent().equals(new Parent());
        }
    
        @Test
        void testEqualsIdentity() {
            Parent thing = new Parent();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                    basicAuthList.add(new AuthenticationImpl(authScope, credentials, authScheme));
                }
                factoryParamMap.put(HcHttpClient.AUTHENTICATIONS_PROPERTY, basicAuthList.toArray(new Authentication[basicAuthList.size()]));
            }
    
            // request header
            final List<org.codelibs.fess.crawler.client.http.RequestHeader> rhList = new ArrayList<>();
            int count = 1;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            // Validate input parameters
            if (data == null) {
                throw new IllegalArgumentException("Data buffer cannot be null");
            }
            if (offset < 0 || length < 0) {
                throw new IllegalArgumentException("Offset and length must be non-negative");
            }
            if (offset + length > data.length) {
                throw new IllegalArgumentException("Offset + length exceeds data buffer size");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            when(delegate.hasNext()).thenReturn(true, true, false);
            when(delegate.next()).thenReturn(entry1, entry2);
            when(filter.accept(resource)).thenThrow(new CIFSException("Error")).thenReturn(true);
    
            TestIterator iterator = new TestIterator(filter);
    
            // Verify iteration
            assertTrue(iterator.hasNext());
            assertSame(resource, iterator.next());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus());
    
      public void testRegister() {
        assertEquals(0, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            Configuration cfg = mock(Configuration.class);
            SmbComLockingAndX cmd = new SmbComLockingAndX(cfg);
            // arrays of size 1 so internal method will attempt to decode a range
            setField(cmd, "unlocks", new LockingAndXRange[] { new LockingAndXRange(false) });
            setField(cmd, "locks", new LockingAndXRange[] { new LockingAndXRange(false) });
            setField(cmd, "largeFile", false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/AllocInfoTest.java

            void shouldHandleDecodeMethodThrowingException() throws jcifs.internal.SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[100];
                when(mockAllocInfo.decode(any(byte[].class), anyInt(), anyInt()))
                        .thenThrow(new jcifs.internal.SMBProtocolDecodingException("Test error"));
    
                // When & Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilderTest.java

            MavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest();
            mavenExecutionRequest.setExecutionListener(new AbstractExecutionListener());
            mavenExecutionRequest.setGoals(Arrays.asList("clean"));
            final MavenSession session = new MavenSession(
                    null,
                    new DefaultRepositorySystemSession(h -> false),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. internal/crypto/key.go

    	}
    	if len(extKey) != 32 { // safety check
    		logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length"))
    	}
    	var nonce [32]byte
    	if _, err := io.ReadFull(random, nonce[:]); err != nil {
    		logger.CriticalIf(context.Background(), errOutOfEntropy)
    	}
    
    	const Context = "object-encryption-key generation"
    	mac := hmac.New(sha256.New, extKey)
    	mac.Write([]byte(Context))
    	mac.Write(nonce[:])
    	mac.Sum(key[:0])
    	return key
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

                return;
            }
    
            MetadataGraphVertex vertex = new MetadataGraphVertex(node.md, versionedVertices, scopedVertices);
            vertices.add(vertex);
    
            if (parentVertex != null) // then create the edge
            {
                ArtifactMetadata md = node.getMd();
                MetadataGraphEdge e =
                        new MetadataGraphEdge(md.version, md.resolved, md.artifactScope, md.artifactUri, depth, pomOrder);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top