Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for fn (0.14 sec)

  1. cmd/object-api-utils.go

    		if err != nil {
    			return nil, 0, 0, err
    		}
    		fn = func(inputReader io.Reader, _ http.Header, cFns ...func()) (r *GetObjectReader, err error) {
    			r = &GetObjectReader{
    				ObjInfo:    oi,
    				Reader:     inputReader,
    				cleanUpFns: cFns,
    			}
    			return r, nil
    		}
    	}
    	return fn, off, length, nil
    }
    
    // Close - calls the cleanup actions in reverse order
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  2. src/cmd/cgo/internal/test/callback_c_gc.c

    //go:build gc
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void crosscall2(void (*fn)(void *, int), void *, int);
    extern void _cgo_panic(void *, int);
    extern void _cgo_allocate(void *, int);
    
    void
    callPanic(void)
    {
    	struct { const char *p; } a;
    	a.p = "panic from C";
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 592 bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/Striped64.java

       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
       * Handles cases of updates involving initialization, resizing, creating new Cells, and/or
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Striped64.java

       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
       * Handles cases of updates involving initialization, resizing, creating new Cells, and/or
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. cmd/storage-errors.go

    var errMoreData = StorageErr("more data was sent than what was advertised")
    
    // indicates readDirFn to return without further applying the fn()
    var errDoneForNow = errors.New("done for now")
    
    // errSkipFile returned by the fn() for readDirFn() when it needs
    // to proceed to next entry.
    var errSkipFile = errors.New("skip this file")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/unified_api_test.cc

        GTEST_SKIP() << "Tracing only test.";
      }
      if (UseMlir()) {
        // TODO(b/173074167): Remove this.
        GTEST_SKIP() << "MlirTensor::Shape is not implemented yet.";
      }
      AbstractContextPtr ctx(BuildFunction("test_fn"));
      AbstractTensorHandlePtr x;
      {
        tracing::TracingTensorHandle* x_raw = nullptr;
        PartialTensorShape shape;
        Status s = dyn_cast<tracing::TracingContext>(ctx.get())->AddParameter(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  7. internal/s3select/sql/aggregation.go

    type aggVal struct {
    	runningSum             *Value
    	runningCount           int64
    	runningMax, runningMin *Value
    
    	// Stores if at least one record has been seen
    	seen bool
    }
    
    func newAggVal(fn FuncName) *aggVal {
    	switch fn {
    	case aggFnAvg, aggFnSum:
    		return &aggVal{runningSum: FromFloat(0)}
    	case aggFnMin:
    		return &aggVal{runningMin: FromInt(0)}
    	case aggFnMax:
    		return &aggVal{runningMax: FromInt(0)}
    	default:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  8. cmd/os_other.go

    	return err
    }
    
    func osMkdirAll(dirPath string, perm os.FileMode, _ string) error {
    	// baseDir is not honored in plan9 and solaris platforms.
    	return os.MkdirAll(dirPath, perm)
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  9. src/main/webapp/js/search.js

              $info.slideDown("slow");
            });
          }
        }
        return false;
      });
    
      if (typeof $.fn.suggestor === "function") {
        $("#query").suggestor({
          ajaxinfo: {
            url: contextPath + "/api/v1/suggest-words",
            fn: ["_default", "content", "title"],
            num: 10,
            lang: $("#langSearchOption").val()
          },
          boxCssInfo: {
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Mar 30 05:45:24 GMT 2023
    - 7.5K bytes
    - Viewed (1)
  10. docs/debugging/inspect/export.go

    func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (e error) {
    	var tHdr, tMeta []byte // Zero copy bytes
    	for i := 0; i < versions; i++ {
    		tHdr, buf, e = msgp.ReadBytesZC(buf)
    		if e != nil {
    			return e
    		}
    		tMeta, buf, e = msgp.ReadBytesZC(buf)
    		if e != nil {
    			return e
    		}
    		if e = fn(i, tHdr, tMeta); e != nil {
    			return e
    		}
    	}
    	return nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 08 15:58:02 GMT 2022
    - 9.1K bytes
    - Viewed (0)
Back to top