Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 5,331 for news (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

                    k3(),
                    (k, v) -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfPresent_supportedPresent() {
        assertEquals(
            "computeIfPresent(present, function) should return new value",
            v3(),
            getMap()
                .computeIfPresent(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        String upperString = testString.toUpperCase();
        CharSequence testSeq = new StringBuilder(testString);
        CharSequence upperSeq = new StringBuilder(upperString);
        CharSequence[] lhs = new CharSequence[] {testString, testSeq, testString, testSeq};
        CharSequence[] rhs = new CharSequence[] {upperString, upperString, upperSeq, upperSeq};
    
        boolean dummy = false;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            when(config.getNotifyBufferSize()).thenReturn(8192);
            Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, fileId);
            byte[] buffer = new byte[512];
            req.writeBytesWireFormat(buffer, 0);
    
            byte[] readFileId = new byte[16];
            System.arraycopy(buffer, 8, readFileId, 0, 16);
            assertArrayEquals(fileId, readFileId);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbExceptionTest.java

        @DisplayName("Should handle exception chaining")
        void testExceptionChaining() {
            // Given
            Exception rootCause = new RuntimeException("Root cause");
            SmbException intermediateCause = new SmbException("Intermediate", rootCause);
    
            // When
            SmbException finalException = new SmbException("Final error", intermediateCause);
    
            // Then
            assertEquals(intermediateCause, finalException.getCause());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

            return asJson(new ApiConfigResponse().setting(labelTypeService.getLabelType(id).map(this::createEditBody).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            })).status(Status.OK).result());
        }
    
        /**
         * Creates a new label type setting.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        }
    
        /**
         * Creates a new XmlNode instance with the specified name.
         *
         * @param name the name for the new node
         * @return a new XmlNode instance
         * @throws NullPointerException if name is null
         */
        static XmlNode newInstance(String name) {
            return newBuilder().name(name).build();
        }
    
        /**
         * Creates a new XmlNode instance with the specified name and value.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 15:20:44 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      @BeforeExperiment
      void setUp() {
        checkArgument(size > 0, "empty collection not supported");
        Set<Integer> set = new LinkedHashSet<>(size);
    
        Random random = new Random();
        while (set.size() < size) {
          set.add(random.nextInt());
        }
        List<Integer> list = new ArrayList<>(set);
        inputOrder.arrange(list);
        input = ImmutableList.copyOf(list);
      }
    
      @Benchmark
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                                        fields.add(new StringField(currentField));
                                    }
                                } else if (List.class.isAssignableFrom(type)) {
                                    fields.add(new ListField(currentField));
                                } else if (Collection.class.isAssignableFrom(type)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

                Model model = new Model(new MavenStaxReader().read(expected));
                MavenProject project = new MavenProject(model);
                project.setOriginalModel(model);
                ConsumerPomArtifactTransformer t = new ConsumerPomArtifactTransformer((s, p, f) -> {
                    try (InputStream is = f.openStream()) {
                        return DefaultConsumerPomBuilder.transformPom(new MavenStaxReader().read(is), project);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

      private final TearDownStack tearDownStack = new TearDownStack(true);
      private final CountDownLatch enterRun = new CountDownLatch(1);
      private final CountDownLatch exitRun = new CountDownLatch(1);
    
      private Thread executionThread;
      private Throwable thrownByExecutionThread;
      private final Executor exceptionCatchingExecutor =
          new Executor() {
            @Override
            public void execute(Runnable command) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top