Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,627 for Pwrite (0.05 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val inflater = MessageInflater(false)
        val buffer = fragmentBuffer(Buffer().write("f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex()))
        inflater.inflate(buffer)
        assertThat(buffer.readUtf8()).isEqualTo("Hello inflation!")
      }
    
      private fun MessageDeflater.deflate(byteString: ByteString): ByteString {
        val buffer = Buffer()
        buffer.write(byteString)
        deflate(buffer)
        return buffer.readByteString()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. internal/s3select/select_benchmark_test.go

    	}
    	return string(b)
    }
    
    func genSampleCSVData(count int) []byte {
    	buf := &bytes.Buffer{}
    	csvWriter := csv.NewWriter(buf)
    	csvWriter.Write([]string{"id", "name", "age", "city"})
    
    	for i := 0; i < count; i++ {
    		csvWriter.Write([]string{
    			strconv.Itoa(i),
    			newRandString(10),
    			newRandString(5),
    			newRandString(10),
    		})
    	}
    
    	csvWriter.Flush()
    	return buf.Bytes()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 14 13:54:47 UTC 2022
    - 5K bytes
    - Viewed (0)
  3. utils/tests/dummy_dialecter.go

    	return clause.Expr{SQL: "DEFAULT"}
    }
    
    func (DummyDialector) Migrator(*gorm.DB) gorm.Migrator {
    	return nil
    }
    
    func (DummyDialector) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{}) {
    	writer.WriteByte('?')
    }
    
    func (DummyDialector) QuoteTo(writer clause.Writer, str string) {
    	var (
    		underQuoted, selfQuoted bool
    		continuousBacktick      int8
    		shiftDelimiter          int8
    	)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 06 06:03:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. istioctl/pkg/checkinject/checkinject.go

    	return cmd
    }
    
    func printCheckInjectorResults(writer io.Writer, was []webhookAnalysis) error {
    	if len(was) == 0 {
    		fmt.Fprintf(writer, "ERROR: no Istio injection hooks present.\n")
    		return nil
    	}
    	w := table.NewStyleWriter(writer)
    	w.SetAddRowFunc(func(obj interface{}) table.Row {
    		wa := obj.(webhookAnalysis)
    		row := table.Row{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/nio/ChannelUtil.java

         *            バイトバッファ。{@literal null}であってはいけません
         * @return 書き込んだバイト数
         */
        public static int write(final FileChannel channel, final ByteBuffer buffer) {
            assertArgumentNotNull("channel", channel);
            assertArgumentNotNull("buffer", buffer);
    
            try {
                return channel.write(buffer);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbRenewableCredentials.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    /**
     * @author mbechler
     *
     */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/SmbNegotiationRequest.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    
    /**
     * @author mbechler
     *
     */
    public interface SmbNegotiationRequest {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 979 bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/BasicFileInformation.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.fscc;
    
    
    import jcifs.internal.SmbBasicFileInfo;
    
    
    /**
     * @author mbechler
     *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 969 bytes
    - Viewed (0)
  9. .github/workflows/notify-translations.yml

            description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
            required: false
            default: 'false'
    
    permissions:
      discussions: write
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      notify-translations:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. cmd/crossdomain-xml-handler.go

    		if globalServerCtxt.CrossDomainXML != "" {
    			cxml = globalServerCtxt.CrossDomainXML
    		}
    		// Look for 'crossdomain.xml' in the incoming request.
    		if r.URL.Path == crossDomainXMLEntity {
    			// Write the standard cross domain policy xml.
    			w.Write([]byte(cxml))
    			// Request completed, no need to serve to other handlers.
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 18 06:42:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top