Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 299 for writeLoc (0.14 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java

        private final Duration timeout;
        private final Lock lock;
    
        private ResponseProducer producer = new ResponseProducer() {
            @Override
            public void writeTo(int requestId, HttpExchange exchange) throws IOException {
                responseBody.writeTo(requestId, exchange);
            }
        };
        private ResponseProducer responseBody = new SendFixedContent(200, "hi");
        private BlockingRequest blockingRequest;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      private ReentrantReadWriteLock.ReadLock readLockB;
      private ReentrantReadWriteLock.ReadLock readLockC;
      private ReentrantReadWriteLock.WriteLock writeLockA;
      private ReentrantReadWriteLock.WriteLock writeLockB;
      private ReentrantReadWriteLock.WriteLock writeLockC;
      private ReentrantLock lock1;
      private ReentrantLock lock2;
      private ReentrantLock lock3;
      private ReentrantLock lock01;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      private ReentrantReadWriteLock.ReadLock readLockB;
      private ReentrantReadWriteLock.ReadLock readLockC;
      private ReentrantReadWriteLock.WriteLock writeLockA;
      private ReentrantReadWriteLock.WriteLock writeLockB;
      private ReentrantReadWriteLock.WriteLock writeLockC;
      private ReentrantLock lock1;
      private ReentrantLock lock2;
      private ReentrantLock lock3;
      private ReentrantLock lock01;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  4. internal/disk/stat_test.go

    			expectedIOStats: IOStats{
    				ReadIOs:        1432553,
    				ReadMerges:     420084,
    				ReadSectors:    66247626,
    				ReadTicks:      2398227,
    				WriteIOs:       7077314,
    				WriteMerges:    8720147,
    				WriteSectors:   157049224,
    				WriteTicks:     7469810,
    				CurrentIOs:     0,
    				TotalTicks:     7580552,
    				ReqTicks:       9869354,
    				DiscardIOs:     46037,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/service/StoreTargetTest.groovy

            def output = new TestOutputStream()
    
            when:
            target.writeTo(output)
    
            then:
            output.closed
        }
    
        def "can write multiple times"() {
            given:
            def output = new TestOutputStream()
    
            when:
            target.writeTo(new ByteArrayOutputStream())
            target.writeTo(output)
    
            then:
            output.closed
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/SettingsBuilder.groovy

                case GradleDsl.GROOVY:
                    new GroovyWriter().writeTo(projectDir.file("settings.gradle"))
                    break
                case GradleDsl.KOTLIN:
                    new KotlinWriter().writeTo(projectDir.file("settings.gradle.kts"))
                    break
            }
        }
    
        private class GroovyWriter {
            void writeTo(TestFile settingsFile) {
                settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. platforms/software/resources/src/main/java/org/gradle/internal/resource/local/DefaultLocallyAvailableExternalResource.java

            throw new UnsupportedOperationException();
        }
    
        @Override
        public ExternalResourceReadResult<Void> writeTo(File destination) throws ResourceException {
            return localFile.writeTo(destination);
        }
    
        @Override
        @Nullable
        public ExternalResourceReadResult<Void> writeToIfPresent(File destination) throws ResourceException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RequestBodyTest.kt

        assertOnFileDescriptor(content = "Hello") { fd ->
          val requestBody = fd.toRequestBody()
    
          val buffer = Buffer()
          requestBody.writeTo(buffer)
          assertThat(buffer.readUtf8()).isEqualTo("Hello")
    
          assertThrows(IOException::class.java) {
            requestBody.writeTo(Buffer())
          }
        }
      }
    
      @Test
      fun testFileDescriptorAfterClose() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

      /**
       * Returns the number of bytes that will be written to sink in a call to [writeTo],
       * or -1 if that count is unknown.
       */
      @Throws(IOException::class)
      open fun contentLength(): Long = commonContentLength()
    
      /** Writes the content of this request to [sink]. */
      @Throws(IOException::class)
      abstract fun writeTo(sink: BufferedSink)
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/cmd/internal/pgo/serialize.go

    //
    // Entries are sorted by "call edge weight", from highest to lowest.
    
    const serializationHeader = "GO PREPROFILE V1\n"
    
    // WriteTo writes a serialized representation of Profile to w.
    //
    // FromSerialized can parse the format back to Profile.
    //
    // WriteTo implements io.WriterTo.Write.
    func (d *Profile) WriteTo(w io.Writer) (int64, error) {
    	bw := bufio.NewWriter(w)
    
    	var written int64
    
    	// Header
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top