Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 131 for writeline (0.17 sec)

  1. src/main/java/jcifs/smb/SmbFileOutputStream.java

            int sendBufferSize = th.getSendBufferSize();
            if ( this.smb2 ) {
                this.writeSize = sendBufferSize;
                this.writeSizeFile = sendBufferSize;
                return;
            }
    
            this.openFlags &= ~ ( SmbConstants.O_CREAT | SmbConstants.O_TRUNC ); /* in case we close and reopen */
            this.writeSize = sendBufferSize - 70;
    
            this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            int start = dstIndex;
            SMBUtil.writeTime(this.createTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.lastAccessTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.lastWriteTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.changeTime, dst, dstIndex);
            dstIndex += 8;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  3. cni/pkg/install/kubeconfig_test.go

    	k8sServicePort = "443"
    	kubeCAFilepath = "testdata/kube-ca.crt"
    	saToken        = "service_account_token_string"
    )
    
    func TestCreateValidKubeconfigFile(t *testing.T) {
    	tmp := t.TempDir()
    	os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
    	constants.ServiceAccountPath = tmp
    	cases := []struct {
    		name               string
    		expectedFailure    bool
    		k8sServiceProtocol string
    		k8sServiceHost     string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            ensureOpen();
    
            if( file.log.level >= 4 )
                file.log.println( "write: fid=" + file.fid + ",off=" + off + ",len=" + len );
    
            int w;
            do {
                w = len > writeSize ? writeSize : len;
                if( useNTSmbs ) {
                    reqx.setParam( file.fid, fp, len - w, b, off, w );
    if ((flags & 1) != 0) {
        reqx.setParam( file.fid, fp, len, b, off, w );
        reqx.writeMode = 0x8;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  5. cmd/bucket-metadata_gen.go

    		return
    	}
    	err = en.WriteTime(z.EncryptionConfigUpdatedAt)
    	if err != nil {
    		err = msgp.WrapError(err, "EncryptionConfigUpdatedAt")
    		return
    	}
    	// write "TaggingConfigUpdatedAt"
    	err = en.Append(0xb6, 0x54, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.TaggingConfigUpdatedAt)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu May 25 05:52:39 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

        }
      }
    
      @Test fun serverEmptyPing() {
        serverWriter.writePing(EMPTY)
        assertData("8900")
      }
    
      @Test fun clientEmptyPing() {
        clientWriter.writePing(EMPTY)
        assertData("898060b420bb")
      }
    
      @Test fun serverPingWithPayload() {
        serverWriter.writePing("Hello".encodeUtf8())
        assertData("890548656c6c6f")
      }
    
      @Test fun clientPingWithPayload() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeTime( createTime, dst, dstIndex ); dstIndex += 8;
            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
            writeTime( lastWriteTime, dst, dstIndex ); dstIndex += 8;
            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
    /* Samba 2.2.7 needs ATTR_NORMAL
     */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  8. schema/naming.go

    		if curCase {
    			if lastCase && (nextCase || nextNumber) {
    				buf.WriteRune(v + 32)
    			} else {
    				if i > 0 && value[i-1] != '_' && value[i+1] != '_' {
    					buf.WriteByte('_')
    				}
    				buf.WriteRune(v + 32)
    			}
    		} else {
    			buf.WriteRune(v)
    		}
    
    		lastCase = curCase
    		curCase = nextCase
    	}
    
    	if curCase {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      @Throws(InterruptedException::class)
      fun writePingAndAwaitPong() {
        writePing()
        awaitPong()
      }
    
      /** For testing: sends a ping to be awaited with [awaitPong]. */
      @Throws(InterruptedException::class)
      fun writePing() {
        this.withLock {
          awaitPingsSent++
        }
    
        // 0x4f 0x4b 0x6f 0x6b is "OKok".
        writePing(false, AWAIT_PING, 0x4f4b6f6b)
      }
    
      /** For testing: awaits a pong. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

                // Multiple dynamic table size updates!
                writeInt(smallestHeaderTableSizeSetting, PREFIX_5_BITS, 0x20)
              }
              emitDynamicTableSizeUpdate = false
              smallestHeaderTableSizeSetting = Integer.MAX_VALUE
              writeInt(maxDynamicTableByteCount, PREFIX_5_BITS, 0x20)
            }
    
            for (i in 0 until headerBlock.size) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
Back to top