Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 580 for rend (0.03 sec)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(0, ticker.read());
        assertEquals(10, ticker.read());
        assertEquals(20, ticker.read());
      }
    
      public void testAutoIncrementStep_millis() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS);
        assertEquals(0, ticker.read());
        assertEquals(1000000, ticker.read());
        assertEquals(2000000, ticker.read());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 14:40:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

    /**
     * Generic interface to read/write objects to/from XML.
     *
     * @param <T> the object type to read/write
     * @since 4.0.0
     */
    @Experimental
    public interface XmlFactory<T> extends Service {
    
        @Nonnull
        default T read(@Nonnull Path path) throws XmlReaderException {
            return read(path, true);
        }
    
        @Nonnull
        default T read(@Nonnull Path path, boolean strict) throws XmlReaderException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3ReaderEx.java

            return super.read(reader);
        }
    
        @Override
        public Model read(InputStream in, boolean strict, InputSource source) throws IOException, XmlPullParserException {
            return super.read(in, strict, source);
        }
    
        @Override
        public Model read(InputStream in, boolean strict) throws IOException, XmlPullParserException {
            return super.read(in, strict);
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:14:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/math/rand/v2/pcg.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package rand
    
    import (
    	"errors"
    	"internal/byteorder"
    	"math/bits"
    )
    
    // https://numpy.org/devdocs/reference/random/upgrading-pcg64.html
    // https://github.com/imneme/pcg-cpp/commit/871d0494ee9c9a7b7c43f753e3d8ca47c26f8005
    
    // A PCG is a PCG generator with 128 bits of internal state.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. docs/distributed/DESIGN.md

    ## Architecture
    
    Expansion of ellipses and choice of erasure sets based on this expansion is an automated process in MinIO. Here are some of the details of our underlying erasure coding behavior.
    
    - Erasure coding used by MinIO is [Reed-Solomon](https://github.com/klauspost/reedsolomon) erasure coding scheme, which has a total shard maximum of 256 i.e 128 data and 128 parity. MinIO design goes beyond this limitation by doing some practical architecture choices.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. src/net/http/internal/chunked_test.go

    			t.Errorf("Read = %d, %v; want %d, nil", n, err, len(fillBufChunk))
    		}
    		buf = buf[:n]
    		if string(buf) != fillBufChunk {
    			t.Errorf("Read = %q; want %q", buf, fillBufChunk)
    		}
    
    		n, err = r.Read(buf)
    		if n != len(shortChunk) || err != io.EOF {
    			t.Errorf("Read = %d, %v; want %d, EOF", n, err, len(shortChunk))
    		}
    	}
    
    	// And test that we see an EOF chunk, even though our buffer is already full:
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 20:45:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

         * any.
         * @return Model
         */
        public Settings read(Reader reader) throws IOException, XmlPullParserException {
            try {
                return new Settings(delegate.read(reader));
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        /**
         * Method read.
         *
         * @param in a in object.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:44:51 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/GroovyPluginImplementation.groovy

    trait GroovyPluginImplementation {
        void groovyDsl(TestFile sourceFile, BuildInputRead read) {
            sourceFile << """
                ${read.requiredImports().collect { "import $it" }.join("\n")}
    
                println("apply = " + ${read.groovyExpression})
                tasks.register("thing") {
                    doLast {
                        println("task = " + ${read.groovyExpression})
                    }
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ProgressLoggingExternalResourceAccessorTest.groovy

            and:
            1 * action.execute(_, _) >> { inputStream, metaData ->
                inputStream.read(new byte[2])
                inputStream.read(new byte[560])
                inputStream.read(new byte[1000])
                inputStream.read(new byte[1600])
                inputStream.read(new byte[1024])
                inputStream.read(new byte[1024])
                "result"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:31:19 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

         */
        public Metadata read(Reader reader) throws IOException, XmlPullParserException {
            try {
                return new Metadata(delegate.read(reader));
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        /**
         * Method read.
         *
         * @param in     a in object.
         * @param strict a strict object.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top