Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 244 for ridx (0.13 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
            if (idx < 0) {
                result = filename + '-' + repositoryKey;
            } else {
                result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
            }
            return result;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. internal/s3select/sql/utils.go

    	jpath := operand.Left.Left.Primary.JPathExpr
    	n := len(jpath.PathExpr)
    	if n > 0 && jpath.PathExpr[n-1].Key == nil {
    		return "", false
    	}
    	ps := jpath.String()
    	if idx := strings.LastIndex(ps, "."); idx >= 0 {
    		// Get last part of path string.
    		ps = ps[idx+1:]
    	}
    	return ps, true
    }
    
    // HasKeypath returns if the from clause has a key path -
    // e.g. S3object[*].id
    func (from *TableExpression) HasKeypath() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 10 16:12:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  3. clause/group_by.go

    }
    
    // Name from clause name
    func (groupBy GroupBy) Name() string {
    	return "GROUP BY"
    }
    
    // Build build group by clause
    func (groupBy GroupBy) Build(builder Builder) {
    	for idx, column := range groupBy.Columns {
    		if idx > 0 {
    			builder.WriteByte(',')
    		}
    
    		builder.WriteQuoted(column)
    	}
    
    	if len(groupBy.Having) > 0 {
    		builder.WriteString(" HAVING ")
    		Where{Exprs: groupBy.Having}.Build(builder)
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 30 10:28:09 UTC 2021
    - 1K bytes
    - Viewed (0)
  4. cmd/streaming-v4-unsigned.go

    		if line == "" {
    			continue
    		}
    		// Find first separator.
    		idx := strings.IndexByte(line, trailerKVSeparator[0])
    		if idx <= 0 || idx >= len(line) {
    			if cr.debug {
    				fmt.Printf("Could not find separator, got %q\n", line)
    			}
    			return errMalformedEncoding
    		}
    		key := strings.ToLower(line[:idx])
    		value := line[idx+1:]
    		if _, ok := wantTrailers[key]; !ok {
    			if cr.debug {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. callbacks/preload.go

    		for i := 0; i < joinResults.Len(); i++ {
    			joinIndexValue := joinResults.Index(i)
    			for idx, field := range joinForeignFields {
    				fieldValues[idx], _ = field.ValueOf(tx.Statement.Context, joinIndexValue)
    			}
    
    			for idx, field := range joinRelForeignFields {
    				joinFieldValues[idx], _ = field.ValueOf(tx.Statement.Context, joinIndexValue)
    			}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -      | ((const unsigned char *) (const char *) (src))[idx])
    -# else
    -#  define __STRING2_SMALL_GET16(src, idx) \
    -     (((const unsigned char *) (const char *) (src))[idx] << 8		      \
    -      | ((const unsigned char *) (const char *) (src))[idx + 1])
    -#  define __STRING2_SMALL_GET32(src, idx) \
    -     (((((const unsigned char *) (const char *) (src))[idx] << 8	      \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAlias.java

    
    @SuppressWarnings ( "javadoc" )
    public class MsrpcSamrOpenAlias extends samr.SamrOpenAlias {
    
        public MsrpcSamrOpenAlias ( SamrDomainHandle handle, int access, int rid, SamrAliasHandle aliasHandle ) {
            super(handle, access, rid, aliasHandle);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  8. clause/select_test.go

    								},
    							},
    						},
    					},
    				},
    			}, clause.From{}},
    			"SELECT `age` = ? as name FROM `users`",
    			[]interface{}{18},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 18 01:06:43 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. cmd/bucket-replication-metrics.go

    	s.buf[s.idx] = next
    
    	if s.filledBuf {
    		s.prevSMA += (next - prev) / float64(s.window)
    		s.CAvg += (next - s.CAvg) / float64(s.window)
    	} else {
    		s.CAvg = s.simpleMovingAvg()
    		s.prevSMA = s.CAvg
    	}
    	if s.idx == s.window-1 {
    		s.filledBuf = true
    	}
    	s.idx = (s.idx + 1) % s.window
    }
    
    func (s *SMA) simpleMovingAvg() float64 {
    	if s.filledBuf {
    		return s.prevSMA
    	}
    	var tot float64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. internal/s3select/csv/record.go

    	index, found := r.nameIndexMap[name]
    	if !found {
    		// Check if index.
    		if strings.HasPrefix(name, "_") {
    			idx, err := strconv.Atoi(strings.TrimPrefix(name, "_"))
    			if err != nil {
    				return nil, fmt.Errorf("column %v not found", name)
    			}
    			// The position count starts at 1.
    			idx--
    			if idx >= len(r.csvRecord) || idx < 0 {
    				// If field index > number of columns, return null
    				return sql.FromNull(), nil
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top