Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 5,233 for news (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

             */
    
            if (artifact.isSnapshot()) {
                Snapshot snapshot = new Snapshot();
                snapshot.setLocalCopy(true);
                artifact.addMetadata(new SnapshotArtifactRepositoryMetadata(artifact, snapshot));
            }
    
            Versioning versioning = new Versioning();
            // TODO Should this be changed for MNG-6754 too?
            versioning.updateTimestamp();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                // in JDK 20+ 'new URL(string)' will fail if the string contains a curly brace
                this.basedir = null;
            } else {
                try {
                    URL url = new URL(repository.getUrl());
                    if ("file".equals(url.getProtocol())) {
                        basedir = new File(url.getPath());
                    }
                } catch (MalformedURLException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            byte[] buffer1 = new byte[100];
            byte[] buffer2 = new byte[100];
    
            System.arraycopy(firstData, 0, buffer1, 0, firstData.length);
            System.arraycopy(secondData, 0, buffer2, 0, secondData.length);
    
            // First read
            response.readDataWireFormat(buffer1, 0, firstData.length);
            byte[] firstResult = new byte[firstData.length];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/rpc.java

                _src.advance(1 * _nodes);
    
                if (this.node == null) {
                    if (_nodes < 0 || _nodes > 0xFFFF) {
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    }
                    this.node = new byte[_nodes];
                }
                _src = _src.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
                    this.node[_i] = (byte) _src.dec_ndr_small();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor() {
            byte[] customData = new byte[8];
            customData[0] = 0x01;
            customData[7] = 0x08;
    
            byte[] machineId = new byte[32];
            machineId[0] = 0x10;
            machineId[31] = 0x20;
    
            AvSingleHost avSingleHost = new AvSingleHost(customData, machineId);
    
            assertNotNull(avSingleHost);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
      }
    
      public void testOnSuccessThrowsRuntimeException() throws Exception {
        RuntimeException exception = new RuntimeException();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

      public void testCancel_interrupted() throws Exception {
        AtomicBoolean interruptedExceptionThrown = new AtomicBoolean();
        CountDownLatch enterLatch = new CountDownLatch(1);
        CountDownLatch exitLatch = new CountDownLatch(1);
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

            byte[] data = "Hello World".getBytes();
            InputStream underlyingStream = new ByteArrayInputStream(data);
            IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream);
    
            byte[] buffer = new byte[5];
            int bytesRead = stream.read(buffer);
    
            assertEquals(5, bytesRead);
            assertEquals("Hello", new String(buffer));
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          return new GoodEquals(a, b);
        }
    
        // instance method ignored
        public Object badIgnored() {
          return new BadEquals();
        }
    
        // primitive ignored
        public int returnsInt() {
          throw new UnsupportedOperationException();
        }
    
        // void ignored
        public void voidMethod() {
          throw new UnsupportedOperationException();
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessorTest.java

        public void test_isSuccessful() {
            DefaultResponseProcessor processor = new DefaultResponseProcessor();
            processor.setSuccessfulHttpCodes(new int[] { 200 });
            processor.setNotModifiedHttpCodes(new int[] { 304 });
    
            ResponseData responseData = new ResponseData();
            responseData.setHttpStatusCode(200);
            assertTrue(processor.isSuccessful(responseData));
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top