Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 6,187 for New (0.04 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
        static final PermittedMetaException UOE =
            new PermittedMetaException("UnsupportedOperationException") {
              @Override
              boolean isPermitted(Exception exception) {
                return exception instanceof UnsupportedOperationException;
              }
            };
        static final PermittedMetaException ISE =
            new PermittedMetaException("IllegalStateException") {
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

        void testWriteSetupWireFormat() {
            byte[] dst = new byte[10];
            int result = netServerEnum2.writeSetupWireFormat(dst, 0);
            assertEquals(0, result);
        }
    
        /**
         * Test the writeParametersWireFormat method for NET_SERVER_ENUM2.
         */
        @Test
        void testWriteParametersWireFormat_Enum2() throws UnsupportedEncodingException {
            byte[] dst = new byte[100];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

        @BeforeEach
        public void setUp() {
            try {
                BaseConfiguration config = new BaseConfiguration(false);
                mockContext = new BaseContext(config);
                response = new SmbComNegotiateResponse(mockContext);
            } catch (Exception e) {
                throw new RuntimeException("Failed to set up test", e);
            }
        }
    
        @Test
        public void testConstructor() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

              sumOfSquaresOfDeltas = t;
            }
            return new MeanAndVariance(mean, sumOfSquaresOfDeltas / values.length);
          }
        },
        KNUTH {
          @Override
          MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) {
            if (meanAlgorithm != MeanAlgorithm.KNUTH) {
              throw new SkipThisScenarioException();
            }
            double mean = values[0];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

              sumOfSquaresOfDeltas = t;
            }
            return new MeanAndVariance(mean, sumOfSquaresOfDeltas / values.length);
          }
        },
        KNUTH {
          @Override
          MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) {
            if (meanAlgorithm != MeanAlgorithm.KNUTH) {
              throw new SkipThisScenarioException();
            }
            double mean = values[0];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            RequestParameter param = new RequestParameter(name, values);
    
            assertEquals("", param.getName());
            assertNotNull(param.getValues());
            assertEquals(2, param.getValues().length);
        }
    
        @Test
        public void test_constructor_withNullValues() {
            // Test with null values array
            String name = "paramName";
            RequestParameter param = new RequestParameter(name, null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        CountDownLatch submitSuccessful = new CountDownLatch(1);
        ExecutorService executorService =
            new ThreadPoolExecutor(
                0,
                Integer.MAX_VALUE,
                60L,
                SECONDS,
                new SynchronousQueue<Runnable>(),
                new ThreadFactoryBuilder().setDaemon(true).build()) {
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        }
                        sids = new LsarSidPtr[_sidss];
                    }
                    _src = _src.derive(_sidsi);
                    for (int _i = 0; _i < _sidss; _i++) {
                        if (sids[_i] == null) {
                            sids[_i] = new LsarSidPtr();
                        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 42.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock = new TestServerMessageBlock(mockConfig, (byte) 0x25);
    
                assertEquals(0x25, testBlock.getCommand());
                assertNull(testBlock.getPath());
            }
    
            @Test
            @DisplayName("Test constructor with config, command, and path")
            void testConstructorWithPath() {
                testBlock = new TestServerMessageBlock(mockConfig, (byte) 0x25, "\\test\\path");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            ArtifactFilter effectiveFilter = inheritedFilter;
    
            if (!dependency.getExclusions().isEmpty()) {
                effectiveFilter = new ExclusionArtifactFilter(dependency.getExclusions());
    
                if (inheritedFilter != null) {
                    effectiveFilter = new AndArtifactFilter(Arrays.asList(inheritedFilter, effectiveFilter));
                }
            }
    
            return effectiveFilter;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
Back to Top