Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 146 for writeAt (0.11 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        // Use a new Writer because we don't support change the dynamic table
        // size after Writer constructed.
        val writer = Hpack.Writer(110, false, bytesOut)
        writer.writeHeaders(headerBlock)
        assertThat(bytesOut).isEqualTo(bytesIn)
        assertThat(writer.headerCount).isEqualTo(2)
        val tableLength = writer.dynamicTable.size
        var entry = writer.dynamicTable[tableLength - 1]!!
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/MultiChoiceAddressSerializer.java

        }
    
        @Override
        public void write(Encoder encoder, MultiChoiceAddress address) throws IOException {
            UUID canonicalAddress = address.getCanonicalAddress();
            encoder.writeLong(canonicalAddress.getMostSignificantBits());
            encoder.writeLong(canonicalAddress.getLeastSignificantBits());
            encoder.writeInt(address.getPort());
            encoder.writeSmallInt(address.getCandidates().size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistryContent.java

                List<DaemonStopEvent> stopEvents = registry.stopEvents;
                encoder.writeInt(stopEvents.size());
                for (DaemonStopEvent stopEvent : stopEvents) {
                    DaemonStopEvent.SERIALIZER.write(encoder, stopEvent);
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/seh.go

    	buf := newsehbuf(ctxt, nodes)
    	buf.write8(flags | 1)            // Flags + version
    	buf.write8(uint8(movbp.Link.Pc)) // Size of prolog
    	buf.write8(nodes)                // Count of nodes
    	buf.write8(SEH_REG_BP)           // FP register
    
    	// Notes are written in reverse order of appearance.
    	buf.write8(uint8(movbp.Link.Pc))
    	buf.writecode(UWOP_SET_FPREG, 0)
    
    	buf.write8(uint8(pushbp.Link.Pc))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/VisitableURLClassLoaderSpecSerializer.java

        @Override
        public void write(Encoder encoder, VisitableURLClassLoader.Spec spec) throws Exception {
            if (spec instanceof MixInLegacyTypesClassLoader.Spec) {
                encoder.writeByte(MIXIN_CLASSLOADER_SPEC);
            } else {
                encoder.writeByte(VISITABLE_URL_CLASSLOADER_SPEC);
            }
    
            encoder.writeString(spec.getName());
            encoder.writeInt(spec.getClasspath().size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/MapSerializer.java

            }
            return valueMap;
        }
    
        @Override
        public void write(Encoder encoder, Map<U, V> value) throws Exception {
            encoder.writeInt(value.size());
            for (Map.Entry<U, V> entry : value.entrySet()) {
                keySerializer.write(encoder, entry.getKey());
                valueSerializer.write(encoder, entry.getValue());
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt

      fun inflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          inflater.reset()
        }
    
        deflatedBytes.writeAll(buffer)
        deflatedBytes.writeInt(OCTETS_TO_ADD_BEFORE_INFLATION)
    
        val totalBytesToRead = inflater.bytesRead + deflatedBytes.size
    
        // We cannot read all, as the source does not close.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/cache/prog.go

    	nextID     int64
    	inFlight   map[int64]chan<- *ProgResponse
    	outputFile map[OutputID]string // object => abs path on disk
    
    	// writeMu serializes writing to the child process.
    	// It must never be held at the same time as mu.
    	writeMu sync.Mutex
    }
    
    // ProgCmd is a command that can be issued to a child process.
    //
    // If the interface needs to grow, we can add new commands or new versioned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/FilteringClassLoaderSpecSerializer.java

            encodeStrings(encoder, spec.getResourcePrefixes());
        }
    
        private void encodeStrings(Encoder encoder, Set<String> strings) throws Exception {
            encoder.writeInt(strings.size());
            for (String string : strings) {
                encoder.writeString(string);
            }
        }
    
        @Override
        public FilteringClassLoader.Spec read(Decoder decoder) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. src/cmd/link/elf_test.go

    		t.Skip("-buildmode=pie not supported")
    	}
    
    	t.Parallel()
    
    	tmpl := template.Must(template.New("pie").Parse(pieSourceTemplate))
    
    	writeGo := func(t *testing.T, dir string) {
    		f, err := os.Create(filepath.Join(dir, "pie.go"))
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		// Passing a 100-element slice here will cause
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top