Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,709 for result2 (0.05 seconds)

  1. android/guava/src/com/google/common/io/MultiInputStream.java

        while (in != null) {
          int result = in.read();
          if (result != -1) {
            return result;
          }
          advance();
        }
        return -1;
      }
    
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        checkNotNull(b);
        while (in != null) {
          int result = in.read(b, off, len);
          if (result != -1) {
            return result;
          }
          advance();
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. internal/event/targetlist_test.go

    		}
    
    		if !testCase.expectErr {
    			result := testCase.targetList.List()
    
    			if len(result) != len(testCase.expectedResult) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    			}
    
    			for _, targetID1 := range result {
    				var found bool
    				for _, targetID2 := range testCase.expectedResult {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

        eventClass: Class<out ConnectionEvent>? = null,
        elapsedMs: Long = -1L,
      ): ConnectionEvent {
        val result = eventSequence.remove()
        val actualElapsedNs = result.timestampNs - (lastTimestampNs ?: result.timestampNs)
        lastTimestampNs = result.timestampNs
    
        if (eventClass != null) {
          assertThat(result).isInstanceOf(eventClass)
        }
    
        if (elapsedMs != -1L) {
          assertThat(
            TimeUnit.NANOSECONDS
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri May 30 21:28:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

                List<ExecutionPlanItem> planItems) {
            LinkedHashSet<String> result = new LinkedHashSet<>();
            for (ExecutionPlanItem executionPlanItem : planItems) {
                result.add(executionPlanItem.getLifecyclePhase());
            }
            return result;
        }
    
        public List<MojoExecution> getMojoExecutions() {
            List<MojoExecution> result = new ArrayList<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<para>&lt;&gt;&amp; /&gt;</para>'''
        }
    
        def ignoresHtmlComments() {
            _ * classMetaData.rawCommentText >> '<!-- <p>ignore me</p> --><p>para 1'
    
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 14.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        @DisplayName("Test writeBytesWireFormat returns 0")
        void testWriteBytesWireFormat() {
            byte[] dst = new byte[1024];
            int dstIndex = 0;
    
            int result = response.writeBytesWireFormat(dst, dstIndex);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with valid structure size")
        void testReadBytesWireFormatValidStructureSize() throws SMBProtocolDecodingException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                                versions.add(ver);
                                result.setRepository(ver, v.getValue());
                            }
                        } catch (InvalidVersionSpecificationException e) {
                            result.addException(e);
                        }
                    }
    
                    Collections.sort(versions);
                    result.setVersions(versions);
                }
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

        }
    
        public void test_stripInvalidXMLCharacters_valid() {
            // Test valid XML characters
            String input = "Valid XML text 123\t\n\r";
            String result = XmlUtil.stripInvalidXMLCharacters(input);
            assertNotNull(result);
            assertTrue(result.contains("Valid XML text 123"));
        }
    
        public void test_stripInvalidXMLCharacters_withInvalidChars() {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

                return asJson(
                        new ApiResult.ApiErrorResponse().message("invalid name or version").status(ApiResult.Status.BAD_REQUEST).result());
            }
            installArtifact(artifact);
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
        /**
         * Deletes a plugin with the specified name and version.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

            });
        }
    
        /**
         * Searches file authentications based on the form criteria.
         *
         * @param form the search form
         * @return HTML response for the search results
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse search(final SearchForm form) {
            copyBeanToBean(form, fileAuthenticationPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 18.7K bytes
    - Click Count (0)
Back to Top