Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,206 for Sources (0.11 sec)

  1. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

        } // -- void setAddDefaultEntities( boolean )
    
        protected Model read(Reader reader, boolean strict, InputSource source) throws IOException, XmlPullParserException {
            try {
                org.apache.maven.api.model.Model model =
                        delegate.read(reader, strict, source != null ? source.toApiSource() : null);
                return new Model(model);
            } catch (XMLStreamException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

      @Test
      fun sourceSeesBom() {
        val body = "efbbbf68656c6c6f".decodeHex().toResponseBody()
        val source = body.source()
        assertThat(source.readByte() and 0xff).isEqualTo(0xef)
        assertThat(source.readByte() and 0xff).isEqualTo(0xbb)
        assertThat(source.readByte() and 0xff).isEqualTo(0xbf)
        assertThat(source.readUtf8()).isEqualTo("hello")
      }
    
      @Test
      fun bytesEmpty() {
        val body = body("")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/SchemaUtil.java

        }
    
        /**
         * Generates a {@link Schema} for W3C XML Schema from a {@link Source}.
         *
         * @param schema
         *            {@link Source} to load the W3C XML Schema. Must not be {@literal null}.
         * @return {@link Schema}
         */
        public static Schema newW3cXmlSchema(final Source schema) {
            assertArgumentNotNull("schema", schema);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/ByteEncodableTest.java

        }
    
        @Test
        void testEncodeSourceOffsetBeyondLength() {
            // Test with source offset + length exceeding source array bounds
            byte[] data = { 0x01, 0x02 };
            // This constructor call itself should not throw an error, as it's just storing the values.
            // The error should occur when System.arraycopy is called.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

        }
    
        @Test
        void testGetInputStream() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsElevateWordBhv.java

                result.setReading(DfTypeUtil.toString(source.get("reading")));
                result.setSuggestWord(DfTypeUtil.toString(source.get("suggestWord")));
                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            Map<String, Object> source = item.getSource();
    
            assertNotNull(source);
            assertEquals("source test", source.get(FieldNames.TEXT));
            assertEquals(50L, source.get(FieldNames.QUERY_FREQ));
            assertEquals(25L, source.get(FieldNames.DOC_FREQ));
            assertEquals(2.0f, source.get(FieldNames.USER_BOOST));
            assertEquals(150.0f, source.get(FieldNames.SCORE)); // (50 + 25) * 2.0 = 150
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

     */
    internal class DerReader(
      source: Source,
    ) {
      private val countingSource: CountingSource = CountingSource(source)
      private val source: BufferedSource = countingSource.buffer()
    
      /** Total bytes read thus far. */
      private val byteCount: Long
        get() = countingSource.bytesRead - source.buffer.size
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. internal/http/headers.go

    	// S3 extensions
    	AmzCopySourceIfModifiedSince   = "x-amz-copy-source-if-modified-since"
    	AmzCopySourceIfUnmodifiedSince = "x-amz-copy-source-if-unmodified-since"
    
    	AmzCopySourceIfNoneMatch = "x-amz-copy-source-if-none-match"
    	AmzCopySourceIfMatch     = "x-amz-copy-source-if-match"
    
    	AmzCopySource                 = "X-Amz-Copy-Source"
    	AmzCopySourceVersionID        = "X-Amz-Copy-Source-Version-Id"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

        /**
         * The next messages will be bound to this source. When calling this method again, previous messages keep
         * their source, but the next messages will use the new source.
         *
         * @param source a source
         */
        void setSource(String source);
    
        /**
         *
         * @return the collected Problems, never {@code null}
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top