Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 111 for pos (0.13 sec)

  1. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
          if (count != 0) {
            System.arraycopy(strCopy, 0, strCopy, strCopyLen, strCopyLen);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Sep 17 20:24:24 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

              break;
            }
            chars[pos - spread] = chars[pos];
            pos++;
          }
          spread++;
        }
        return new String(chars, 0, pos - spread);
      }
    
      /**
       * Returns a string containing all matching BMP characters of a character sequence, in order. For
       * example:
       *
       * <pre>{@code
       * CharMatcher.is('a').retainFrom("bazaar")
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  3. src/archive/tar/tar_test.go

    	}
    	if len(s) > len(b) {
    		f.ops[0] = s[len(b):]
    	} else {
    		f.ops = f.ops[1:]
    	}
    	f.pos += int64(len(b))
    	return len(b), nil
    }
    
    func (f *testFile) Seek(pos int64, whence int) (int64, error) {
    	if pos == 0 && whence == io.SeekCurrent {
    		return f.pos, nil
    	}
    	if len(f.ops) == 0 {
    		return 0, errors.New("unexpected Seek operation")
    	}
    	s, ok := f.ops[0].(int64)
    	if !ok {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    String token = null;
                    String segmentation = null;
                    String reading = null;
                    String pos = null;
                    switch (values.length) {
                    case 4:
                        pos = values[3];
                    case 3:
                        reading = values[2];
                    case 2:
                        segmentation = values[1];
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            String value = content;
            int pos = value.indexOf("<!--");
            while (pos >= 0) {
                final int lastPos = value.indexOf("-->", pos);
                if (lastPos < 0) {
                    break;
                }
                if (pos == 0) {
                    value = " " + value.substring(lastPos + 3);
                } else {
                    value = value.substring(0, pos) + " " + value.substring(lastPos + 3);
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 41.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

                    } else if (state == DfsState.VISITING) {
                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
                        List<String> ret = cycle.subList(pos, cycle.size());
                        ret.add(v);
                        return ret;
                    }
                }
            }
            return null;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

                } else if (state == DfsState.VISITING) {
                    // we are already visiting this vertex, this mean we have a cycle
                    int pos = cycle.lastIndexOf(v.label);
                    List<String> ret = cycle.subList(pos, cycle.size());
                    ret.add(v.label);
                    return ret;
                }
            }
            return null;
        }
    
        static class Vertex {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/dict/KuromojiTests.java

            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("segmentation", "segment");
            requestBody.put("reading", "reading");
            requestBody.put("pos", "pos");
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/Graph.java

                } else if (state == DfsState.VISITING) {
                    // we are already visiting this vertex, this mean we have a cycle
                    int pos = cycle.lastIndexOf(v.label);
                    List<String> ret = cycle.subList(pos, cycle.size());
                    ret.add(v.label);
                    return ret;
                }
            }
            return null;
        }
    
        static class Vertex {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                        // Filtering an array is NOT in place
                        result.acceptedApiChanges = result.acceptedApiChanges.filter((item, pos, ary) => (!pos || (JSON.stringify(item) != JSON.stringify(ary[pos - 1]))));
                        return result;
                    }
    
                    function acceptAllErrorCorrections() {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
Back to top