Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 5,233 for news (0.02 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        assertThat(loadAllCount.get()).isEqualTo(0);
    
        Object unused1 = baseLoader.load(new Object());
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError = baseLoader.reload(new Object(), new Object());
        Map<Object, Object> unused2 = baseLoader.loadAll(ImmutableList.of(new Object()));
        assertThat(loadCount.get()).isEqualTo(1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/BufferCacheTest.java

            assertDoesNotThrow(() -> {
                cache.getBuffer();
                cache.releaseBuffer(new byte[1024]);
            }, "All BufferCache interface methods should be callable");
        }
    
        @Test
        @DisplayName("getBuffer should return non-null byte array")
        void testGetBufferContract() {
            // Given
            byte[] expectedBuffer = new byte[1024];
            when(mockBufferCache.getBuffer()).thenReturn(expectedBuffer);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/InfoTest.java

        }
    
        @Test
        void testTrans2QueryPathUnsupportedLevel() throws Exception {
            Trans2QueryPathInformationResponse trans = new Trans2QueryPathInformationResponse(9999) {
            };
            assertEquals(0, trans.readDataWireFormat(new byte[10], 0, 10));
            java.lang.reflect.Field infoField = Trans2QueryPathInformationResponse.class.getDeclaredField("info");
            infoField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

            ExtensionDescriptor extensionDescriptor = new ExtensionDescriptor();
    
            XmlNode dom;
            try {
                XMLStreamReader reader = XMLInputFactory.newFactory().createXMLStreamReader(is);
                dom = XmlService.read(reader);
            } catch (XMLStreamException e) {
                throw new IOException(e.getMessage(), e);
            }
    
            if (!"extension".equals(dom.name())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/Curl.java

            return new CurlRequest(Method.POST, url);
        }
    
        /**
         * Creates a new CurlRequest with the HTTP PUT method for the specified URL.
         *
         * @param url the URL to which the PUT request will be sent
         * @return a new CurlRequest object configured with the PUT method and the specified URL
         */
        public static CurlRequest put(final String url) {
            return new CurlRequest(Method.PUT, url);
        }
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            final int iterationsPerThread = 100;
            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(threadCount);
            final AtomicInteger errorCount = new AtomicInteger(0);
    
            // Set initial values
            testRule.setRuleId("concurrentRule");
            TestResponseProcessor processor = new TestResponseProcessor();
            testRule.setResponseProcessor(processor);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsFailureUrlCA.java

            FailureUrlCQ cq = new FailureUrlCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                FailureUrlCA ca = new FailureUrlCA();
                aggsLambda.callback(ca);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/PredicatesTest.java

        @Override
        public String toString() {
          return "IsOdd";
        }
      }
    
      /**
       * Generates a new Predicate per call.
       *
       * <p>Creating a new Predicate each time helps catch cases where code is using {@code x == y}
       * instead of {@code x.equals(y)}.
       */
      private static IsOdd isOdd() {
        return new IsOdd();
      }
    
      /*
       * Tests for Predicates.alwaysTrue().
       */
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDWR | SmbFile.O_APPEND;
                write_andx_resp = new SmbComWriteAndXResponse();
                options = WRITE_OPTIONS;
                access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA;
            } else {
                throw new IllegalArgumentException("Invalid mode");
            }
            file.open(openFlags, access, SmbFile.ATTR_NORMAL, options);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeResolver.java

        return new TypeResolver().where(TypeMappingIntrospector.getTypeMappings(invariantContext));
      }
    
      /**
       * Returns a new {@code TypeResolver} with type variables in {@code formal} mapping to types in
       * {@code actual}.
       *
       * <p>For example, if {@code formal} is a {@code TypeVariable T}, and {@code actual} is {@code
       * String.class}, then {@code new TypeResolver().where(formal, actual)} will {@linkplain
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top