Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for curry (0.18 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                linkRepository.put(name, new ClassLinkMetaData(metaData))
            }
    
            // workaround to IBM JDK bug
            def createDslDocModelClosure = this.&createDslDocModel.curry(classDocbookDirectory.get().asFile, mainDocbookTemplate, classRepository)
    
            def doc = mainDocbookTemplate
            use(BuildableDOMCategory) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics.go

    	sma     *SMA             `json:"-"`
    }
    
    // Clone returns a copy of XferStats
    func (rx *XferStats) Clone() *XferStats {
    	curr := rx.curr()
    	peak := rx.Peak
    	if curr > peak {
    		peak = curr
    	}
    	return &XferStats{
    		Curr:    curr,
    		Avg:     rx.Avg,
    		Peak:    peak,
    		N:       rx.N,
    		measure: rx.measure,
    	}
    }
    
    func newXferStats() *XferStats {
    	return &XferStats{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication-metrics_gen.go

    				err = msgp.WrapError(err, "Curr")
    				return
    			}
    			for zb0002 > 0 {
    				zb0002--
    				field, err = dc.ReadMapKeyPtr()
    				if err != nil {
    					err = msgp.WrapError(err, "Curr")
    					return
    				}
    				switch msgp.UnsafeString(field) {
    				case "Count":
    					z.Curr.Count, err = dc.ReadFloat64()
    					if err != nil {
    						err = msgp.WrapError(err, "Curr", "Count")
    						return
    					}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacMac.java

            byte[] buf = new byte[outlen];
            int carry = 0;
            for ( int i = lcm - 1; i >= 0; i-- ) {
                carry = carry_add(data, buf, carry, i);
            }
    
            if ( carry != 0 ) {
                for ( int i = outlen - 1; i >= 0; i-- ) {
                    carry += ( buf[ i ] & 0xff );
                    buf[ i ] = (byte) ( carry & 0xff );
                    carry >>>= 8;
                }
            }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Connection.kt

     * options and then retried without them should the attempt fail.
     *
     * ## Connection Reuse
     *
     * Each connection can carry a varying number of streams, depending on the underlying protocol being
     * used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can carry any
     * number of streams, dynamically configured with `SETTINGS_MAX_CONCURRENT_STREAMS`. A connection
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/archive/tar/writer.go

    	/*
    		// Write the sparse map and setup the sparse writer if necessary.
    		if len(spd) > 0 {
    			// Use tw.curr since the sparse map is accounted for in hdr.Size.
    			if _, err := tw.curr.Write(spb); err != nil {
    				return err
    			}
    			tw.curr = &sparseFileWriter{tw.curr, spd, 0}
    		}
    	*/
    	return nil
    }
    
    func (tw *Writer) writeGNUHeader(hdr *Header) error {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/dataclasses.md

        As always, in FastAPI you can combine `def` and `async def` as needed.
    
        If you need a refresher about when to use which, check out the section _"In a hurry?"_ in the docs about [`async` and `await`](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    9. This *path operation function* is not returning dataclasses (although it could), but a list of dictionaries with internal data.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/archive/tar/reader.go

    	if isHeaderOnlyType(hdr.Typeflag) {
    		nb = 0
    	}
    	if nb < 0 {
    		return ErrHeader
    	}
    
    	tr.pad = blockPadding(nb)
    	tr.curr = &regFileReader{r: tr.r, nb: nb}
    	return nil
    }
    
    // handleSparseFile checks if the current file is a sparse format of any type
    // and sets the curr reader appropriately.
    func (tr *Reader) handleSparseFile(hdr *Header, rawHdr *block) error {
    	var spd sparseDatas
    	var err error
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. cmd/bucket-stats.go

    		lpeak = math.Max(math.Max(v[Large].Peak, lpeak), v[Large].Curr)
    		speak = math.Max(math.Max(v[Small].Peak, speak), v[Small].Curr)
    		if lpeak > 0 || speak > 0 {
    			count++
    		}
    	}
    	if count > 0 {
    		lrg := XferStats{
    			Avg:  lavg / float64(count),
    			Curr: lcurr / float64(count),
    			Peak: lpeak,
    		}
    		sml := XferStats{
    			Avg:  savg / float64(count),
    			Curr: scurr / float64(count),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  10. configure.py

      """
      stderr = open(os.devnull, 'wb')
      curr_version = run_shell([clang_executable, '--version'],
                               allow_non_zero=True,
                               stderr=stderr)
    
      curr_version_split = curr_version.lower().split('clang version ')
      if len(curr_version_split) > 1:
        curr_version = curr_version_split[1].split()[0]
    
      curr_version_int = convert_version_to_int(curr_version)
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top