Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 478 for lena (0.03 sec)

  1. schema/schema.go

    //		}
    //		ID string // is selected by LookUpFieldByBindName([]string{"ID"}, "ID")
    //	}
    func (schema Schema) LookUpFieldByBindName(bindNames []string, name string) *Field {
    	if len(bindNames) == 0 {
    		return nil
    	}
    	for i := len(bindNames) - 1; i >= 0; i-- {
    		find := strings.Join(bindNames[:i], ".") + "." + name
    		if field, ok := schema.FieldsByBindName[find]; ok {
    			return field
    		}
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. internal/event/targetlist.go

    	t.TotalEvents = list.totalEvents.Load()
    	t.CurrentQueuedCalls = int64(len(list.queue))
    	t.EventsErrorsTotal = list.eventsErrorsTotal.Load()
    
    	list.RLock()
    	defer list.RUnlock()
    	t.TargetStats = make(map[TargetID]TargetStat, len(list.targets))
    	for id, target := range list.targets {
    		var currentQueue int
    		if st := target.Store(); st != nil {
    			currentQueue = st.Len()
    		}
    		stats := list.getStatsByTargetID(id)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. internal/crypto/sse-kms.go

    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    	if keyID != "" && len(kmsKey) == 0 {
    		logger.CriticalIf(context.Background(), errors.New("The KMS data key must not be empty if a key ID is present"))
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. ci/official/utilities/extract_resultstore_links.py

      with open(file_path, 'r', encoding='utf-8', errors='ignore') as f:
        log_lines = f.read().splitlines()
    
      result_store_links: ResultDictType = {}
      current_url = None
      for i in range(len(log_lines)):
        line = log_lines[i]
        result_store_line_match = re.search(RESULT_STORE_LINK_RE, line)
        if not result_store_line_match:
          continue
    
        url = result_store_line_match.group(1)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/go/types/66626.md

    All `go/types` data structures that expose sequences using a pair of
    methods such as `Len() int` and `At(int) T` now also methods that
    return iterators, allowing you to simplify code such as this:
    
    ```go
    params := fn.Type.(*types.Signature).Params()
    for i := 0; i < params.Len(); i++ {
       use(params.At(i))
    }
    ```
    
    to this:
    
    ```go
    for param := range fn.Signature().Params().Variables() {
       use(param)
    }
    ```
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jul 31 22:54:09 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        @Override
        protected void haveResponse ( byte[] buffer, int start, int len ) throws SMBProtocolDecodingException {
            if ( isRetainPayload() ) {
                byte[] payload = new byte[len];
                System.arraycopy(buffer, start, payload, 0, len);
                setRawPayload(payload);
            }
    
            if ( !verifySignature(buffer, start, len) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    	}
    	r.Close()
    
    	if g := uint64(b.Len()); g != size {
    		t.Errorf("%v: read %v bytes but f.UncompressedSize == %v", f.Name, g, size)
    	}
    
    	var c []byte
    	if ft.Content != nil {
    		c = ft.Content
    	} else if c, err = os.ReadFile("testdata/" + ft.File); err != nil {
    		t.Error(err)
    		return
    	}
    
    	if b.Len() != len(c) {
    		t.Errorf("%s: len=%d, want %d", f.Name, b.Len(), len(c))
    		return
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            return 0;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            status = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            converter = readInt2( buffer, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	err = xml.Unmarshal(delRespBytes, &deleteResp)
    	c.Assert(err, nil)
    	c.Assert(len(deleteResp.DeletedObjects), len(delObjReq.Objects))
    	for i := 0; i < 10; i++ {
    		c.Assert(deleteResp.DeletedObjects[i], DeletedObject{
    			ObjectName: delObjReq.Objects[i].ObjectName,
    			VersionID:  delObjReq.Objects[i].VersionID,
    		})
    	}
    	c.Assert(len(deleteResp.Errors), 0)
    }
    
    // Tests delete object responses and success.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  10. internal/logger/logger.go

    	// Copy tags. We hold read lock already.
    	tags := make(map[string]interface{}, len(req.tags))
    	for _, entry := range req.tags {
    		tags[entry.Key] = entry.Val
    	}
    
    	// Get the cause for the Error
    	deploymentID := req.DeploymentID
    	if req.DeploymentID == "" {
    		deploymentID = xhttp.GlobalDeploymentID
    	}
    
    	objects := make([]log.ObjectVersion, 0, len(req.Objects))
    	for _, ov := range req.Objects {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top