Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for resptr (0.2 sec)

  1. cmd/storage-rest-server.go

    		for update := range updates {
    			resp := storageNSScannerRPC.NewResponse()
    			resp.Update = &update
    			out <- resp
    		}
    	}()
    	ui, err := s.getStorage().NSScanner(ctx, *params.Cache, updates, madmin.HealScanMode(params.ScanMode), nil)
    	wg.Wait()
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    	// Send final response.
    	resp := storageNSScannerRPC.NewResponse()
    	resp.Final = &ui
    	out <- resp
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/storage-rest-client.go

    	})
    	if err != nil {
    		return cache, toStorageErr(err)
    	}
    	var final *dataUsageCache
    	err = st.Results(func(resp *nsScannerResp) error {
    		if resp.Update != nil {
    			select {
    			case <-ctx.Done():
    			case updates <- *resp.Update:
    			}
    		}
    		if resp.Final != nil {
    			final = resp.Final
    		}
    		// We can't reuse the response since it is sent upstream.
    		return nil
    	})
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. cmd/storage-rest-common.go

    Anis Eleuch <******@****.***> 1718034687 +0100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/func.go

    		a = new(LocalSlot)
    		*a = slot // don't escape slot
    		f.CanonicalLocalSlots[slot] = a
    	}
    	return a
    }
    
    func (f *Func) SplitString(name *LocalSlot) (*LocalSlot, *LocalSlot) {
    	ptrType := types.NewPtr(types.Types[types.TUINT8])
    	lenType := types.Types[types.TINT]
    	// Split this string up into two separate variables.
    	p := f.SplitSlot(name, ".ptr", 0, ptrType)
    	l := f.SplitSlot(name, ".len", ptrType.Size(), lenType)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    	_ = types.NewPtr(types.NewSlice(types.Types[types.TSTRING]))            // *[]string
    	_ = types.NewPtr(types.NewPtr(types.NewPtr(types.Types[types.TUINT8]))) // ***uint8
    	_ = types.NewPtr(types.Types[types.TINT16])                             // *int16
    	_ = types.NewPtr(types.Types[types.TINT64])                             // *int64
    	_ = types.NewPtr(types.ErrorType)                                       // *error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  6. internal/grid/handlers.go

    	if r != h.nilResp {
    		h.respPool.Put(r)
    	}
    }
    
    // NewResponse creates a new response.
    // Handlers can use this to create a reusable response.
    func (h *StreamTypeHandler[Payload, Req, Resp]) NewResponse() Resp {
    	return h.respPool.Get().(Resp)
    }
    
    func newStreamHandler[Payload, Req, Resp RoundTripper](h HandlerID) *StreamTypeHandler[Payload, Req, Resp] {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. RELEASE.md

                create status using an error code without accessing it.
            *   Use the free functions such as
                `tensorflow::errors::IsInvalidArgument` if needed.
            *   In the last resort, use
                e.g.`static_cast<tensorflow::errors::Code>(error::Code::INVALID_ARGUMENT)`
                or `static_cast<int>(code)` for comparisons.
    *   `tensorflow::StatusOr` will also become in the future an alias to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top