Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for writeNL (0.99 sec)

  1. internal/grid/connection.go

    		c.blockMessages.Store(&block)
    		c.connMu.Unlock()
    	}
    }
    
    // wsWriter writes websocket messages.
    type wsWriter struct {
    	tmp [ws.MaxHeaderSize]byte
    }
    
    // writeMessage writes a message to w without allocations.
    func (ww *wsWriter) writeMessage(w io.Writer, s ws.State, op ws.OpCode, p []byte) error {
    	const fin = true
    	var frame ws.Frame
    	if s.ClientSide() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/Stats.java

       * versions.
       */
      public byte[] toByteArray() {
        ByteBuffer buff = ByteBuffer.allocate(BYTES).order(ByteOrder.LITTLE_ENDIAN);
        writeTo(buff);
        return buff.array();
      }
    
      /**
       * Writes to the given {@link ByteBuffer} a byte representation of this instance.
       *
       * <p><b>Note:</b> No guarantees are made regarding stability of the representation between
       * versions.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/interfaces.go

    	// retrying the update until success if there is index conflict.
    	// Note that object passed to tryUpdate may change across invocations of tryUpdate() if
    	// other writers are simultaneously updating it, so tryUpdate() needs to take into account
    	// the current contents of the object when deciding how the update object should look.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:53:48 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        BloomFilter<byte[]> bf = BloomFilter.create(funnel, 100);
        for (int i = 0; i < 100; i++) {
          bf.put(Ints.toByteArray(i));
        }
    
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        bf.writeTo(out);
    
        BloomFilter<byte[]> read =
            BloomFilter.readFrom(new ByteArrayInputStream(out.toByteArray()), funnel);
        assertThat(read).isEqualTo(bf);
        assertThat(read.expectedFpp()).isGreaterThan(0);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. internal/config/config.go

    			b.WriteString(ep.Value)
    			b.WriteString(KvNewline)
    		}
    	}
    }
    
    // WriteTo writes the string representation of the configuration to the given
    // builder. When off is true, adds a comment character before the config system
    // output. It also ignores values when empty and deprecated.
    func (cs *SubsysInfo) WriteTo(b *strings.Builder, off bool) {
    	cs.AddEnvString(b)
    	if off {
    		b.WriteString(KvComment)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/optimizing-performance/performance.adoc

    === Java
    
    Gradle runs on the Java Virtual Machine (JVM). Java performance improvements often benefit Gradle.
    For the best Gradle performance, use the latest version of Java.
    
    === Plugins
    
    Plugin writers continuously improve the performance of their plugins.
    If you're using an old version of a plugin, you're missing out on the benefits of that work.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 03:39:56 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/fetch.go

    			err = closeErr
    		}
    	}()
    	if err := hf.Truncate(int64(len(hash))); err != nil {
    		return err
    	}
    	if _, err := hf.WriteAt([]byte(hash), 0); err != nil {
    		return err
    	}
    	return nil
    }
    
    // makeDirsReadOnly makes a best-effort attempt to remove write permissions for dir
    // and its transitive contents.
    func makeDirsReadOnly(dir string) {
    	type pathMode struct {
    		path string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. src/runtime/profbuf.go

    //
    // If the writer gets ahead of the reader, so that the buffer fills,
    // future writes are discarded and replaced in the output stream by an
    // overflow entry, which has size 2+hdrsize+1, time set to the time of
    // the first discarded write, a header of all zeroed words, and a "stack"
    // containing one word, the number of discarded writes.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top