Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for writeAny (0.22 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          frameHeader(
            streamId = 0,
            length = 8,
            type = TYPE_PING,
            flags = if (ack) FLAG_ACK else FLAG_NONE,
          )
          sink.writeInt(payload1)
          sink.writeInt(payload2)
          sink.flush()
        }
      }
    
      /**
       * Tell the peer to stop creating streams and that we last processed `lastGoodStreamId`, or zero
       * if no streams were processed.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt

        }
    
        override fun defaultWriteObject() = record {
            beanStateWriterFor(beanType).run {
                writeStateOf(bean)
            }
        }
    
        override fun writeInt(`val`: Int) = record {
            writeInt(`val`)
        }
    
        override fun writeUTF(str: String) = record {
            writeString(str)
        }
    
        override fun writeObjectOverride(obj: Any?) = record {
            write(obj)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/DataProperty.kt

            PropertyMode.ReadWrite::class,
            PropertyMode.ReadOnly::class,
            PropertyMode.WriteOnly::class
        ])
        sealed interface PropertyMode : Serializable {
            interface ReadWrite : PropertyMode
            interface ReadOnly : PropertyMode
            interface WriteOnly : PropertyMode
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/deps/IntSetSerializer.java

            }
            return result;
        }
    
        @Override
        public void write(Encoder encoder, IntSet value) throws Exception {
            encoder.writeInt(value.size());
            IntIterator iterator = value.iterator();
            while(iterator.hasNext()) {
                encoder.writeInt(iterator.nextInt());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 15:22:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. internal/ringbuffer/ring_buffer_test.go

    				time.Sleep(time.Duration(readRng.Intn(maxSleep)))
    			}
    		}
    	}()
    
    	// Writer
    	{
    		buf := make([]byte, 1024)
    		writeRng := rand.New(rand.NewSource(2))
    		for i := 0; i < 2500; i++ {
    			writeRng.Read(buf)
    			// Write
    			n, err := rb.Write(buf[:writeRng.Intn(len(buf))])
    			if err != nil {
    				t.Fatalf("write failed: %v", err)
    			}
    			wroteBytes += n
    			wrote.Write(buf[:n])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java

                }
                encoder.writeBoolean(context.idleTimeout != null);
                if (context.idleTimeout != null) {
                    encoder.writeInt(context.idleTimeout);
                }
                encoder.writeInt(context.daemonOpts.size());
                for (String daemonOpt : context.daemonOpts) {
                    encoder.writeString(daemonOpt);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/process/internal/worker/child/ApplicationClassesInSystemClassLoaderWorkerImplementationFactory.java

                outstr.writeInt(sharedPackages.size());
                for (String str : sharedPackages) {
                    outstr.writeUTF(str);
                }
    
                // Serialize the worker implementation classpath, this is consumed by GradleWorkerMain
                if (runAsModule || implementationModulePath == null) {
                    outstr.writeInt(implementationClassPath.size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 10:09:51 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

        @ToBeFixedForConfigurationCache(because = "Task.getProject() during execution")
        def canAddDynamicPropertiesToProject() {
            createDirs("child")
            file("settings.gradle").writelns("include 'child'")
            file("build.gradle").writelns(
                    "ext.rootProperty = 'root'",
                    "ext.sharedProperty = 'ignore me'",
                    "ext.property = 'value'",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FreeListBlockStore.java

                outputStream.writeLong(nextBlock.getPos());
                outputStream.writeInt(largestInNextBlock);
                outputStream.writeInt(entries.size());
                for (FreeListEntry entry : entries) {
                    outputStream.writeLong(entry.pos.getPos());
                    outputStream.writeInt(entry.size);
                }
            }
    
            public void add(BlockPointer pos, int size) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/sym.go

    	return ctxt.LookupInit(name, func(s *LSym) {
    		s.Size = 16
    		if ctxt.Arch.ByteOrder == binary.LittleEndian {
    			s.WriteInt(ctxt, 0, 8, lo)
    			s.WriteInt(ctxt, 8, 8, hi)
    		} else {
    			s.WriteInt(ctxt, 0, 8, hi)
    			s.WriteInt(ctxt, 8, 8, lo)
    		}
    		s.Type = objabi.SRODATA
    		s.Set(AttrLocal, true)
    		s.Set(AttrContentAddressable, true)
    		ctxt.constSyms = append(ctxt.constSyms, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top