Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 851 - 860 of 6,187 for New (0.02 seconds)

  1. src/test/java/jcifs/SidResolverTest.java

            doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class));
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids));
        }
    
        @Test
        void testResolveSids_WithNullServerName() throws CIFSException {
            doThrow(new CIFSException("Server name cannot be null")).when(sidResolver)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            // ----------------------------------------------------------------------
    
            Map<String, String> userSpecifiedProperties = context.options != null
                    ? new HashMap<>(context.options.userProperties().orElse(new HashMap<>()))
                    : new HashMap<>();
            createInterpolator().interpolate(userSpecifiedProperties, paths::get);
    
            // ----------------------------------------------------------------------
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

            RequestTimeoutException exception = new RequestTimeoutException(message);
            assertEquals(message, exception.getMessage(), "Message should match the provided string");
            assertNull(exception.getCause(), "Cause should be null for message-only constructor");
        }
    
        @Test
        void testCauseConstructor() {
            // Test the constructor with a cause argument
            Throwable cause = new RuntimeException("Root cause");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                return new SetWithResolutionResult(null, new LinkedHashSet<>());
            }
    
            scopesToCollect = new HashSet<>(scopesToCollect);
            scopesToCollect.addAll(scopesToResolve);
    
            DependencyFilter collectionFilter = new ScopeDependencyFilter(null, negate(scopesToCollect));
            DependencyFilter resolutionFilter = new ScopeDependencyFilter(null, negate(scopesToResolve));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableRangeSet.java

      private static final ImmutableRangeSet<Comparable<?>> EMPTY =
          new ImmutableRangeSet<>(ImmutableList.of());
    
      private static final ImmutableRangeSet<Comparable<?>> ALL =
          new ImmutableRangeSet<>(ImmutableList.of(Range.all()));
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableRangeSet}. As in {@link Builder}, overlapping ranges are not permitted and adjacent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

      public static final MediaType MEDIA_TYPE_MARKDOWN
          = MediaType.get("text/x-markdown; charset=utf-8");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        final PipeBody pipeBody = new PipeBody();
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(pipeBody)
            .build();
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      @Override
      public void setUp() throws Exception {
        super.setUp();
        reference = new ValidTestObject(1, 2);
        equalsTester = new EqualsTester();
        equalObject1 = new ValidTestObject(1, 2);
        equalObject2 = new ValidTestObject(1, 2);
        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

                    if (line ==~ /\/\/\s*AUTOSENSE\s*/) {
                        throw new InvalidUserDataException("$file:$lineNumber: "
                            + "AUTOSENSE has been replaced by CONSOLE.")
                    }
                    if (line ==~ /\/\/\s*CONSOLE\s*/) {
                        if (snippet == null) {
                            throw new InvalidUserDataException("$file:$lineNumber: "
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            mockConfig = mock(Configuration.class);
            outputBuffer = new byte[1024];
            outputBufferOffset = 0;
            response = new Smb2ReadResponse(mockConfig, outputBuffer, outputBufferOffset);
        }
    
        @Test
        @DisplayName("Should create response with configuration and output buffer")
        void testConstructor() {
            // Given
            byte[] buffer = new byte[512];
            int offset = 10;
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                throw new IllegalArgumentException("failed to build synonyms", e);
            }
        }
    
        private Reader getReader(final boolean reload) throws IOException {
            if (reload) {
                if (reloadableFile == null) {
                    throw new IllegalArgumentException("reloadableFile is null.");
                }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun May 18 02:59:16 GMT 2025
    - 6.7K bytes
    - Click Count (1)
Back to Top