Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 6,031 for isString (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/FormBody.kt

    import okio.Buffer
    import okio.BufferedSink
    
    class FormBody internal constructor(
      encodedNames: List<String>,
      encodedValues: List<String>,
    ) : RequestBody() {
      private val encodedNames: List<String> = encodedNames.toImmutableList()
      private val encodedValues: List<String> = encodedValues.toImmutableList()
    
      /** The number of key-value pairs in this form-encoded body. */
      @get:JvmName("size")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      @Param({"0", "1", "16", "32", "100"})
      int componentLength;
    
      private Iterable<String> components;
    
      @BeforeExperiment
      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
        components = Arrays.asList(raw);
      }
    
      /** {@link Joiner} with a string delimiter. */
      @Benchmark
      int joinerWithStringDelimiter(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

             * @param fieldName A description of the field being interpolated. The implementation may use this to
             *                  log stuff.
             * @return the interpolated value
             */
            String transform(String source, String fieldName);
        }
    
        @Nonnull
        static XmlReaderRequestBuilder builder() {
            return new XmlReaderRequestBuilder();
        }
    
        @NotThreadSafe
        class XmlReaderRequestBuilder {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/CharMatcher.java

       * @param replacement the character to append to the result string in place of each matching
       *     character in {@code sequence}
       * @return the new string
       */
      public String replaceFrom(CharSequence sequence, char replacement) {
        String string = sequence.toString();
        int pos = indexIn(string);
        if (pos == -1) {
          return string;
        }
        char[] chars = string.toCharArray();
        chars[pos] = replacement;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/pod_cache.go

    func (p *podNetnsCache) Take(uid string) Netns {
    	// lock current pod map
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	if ns, ok := p.currentPodCache[uid]; ok {
    		delete(p.currentPodCache, uid)
    		// already in cache
    		return ns.Netns
    	}
    
    	return nil
    }
    
    func openNetnsInRoot(hostMountsPath string) func(nspath string) (NetnsCloser, error) {
    	return func(nspath string) (NetnsCloser, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. internal/config/lambda/event/targetid.go

    )
    
    // TargetID - holds identification and name strings of notification target.
    type TargetID struct {
    	ID   string
    	Name string
    }
    
    // String - returns string representation.
    func (tid TargetID) String() string {
    	return tid.ID + ":" + tid.Name
    }
    
    // ToARN - converts to ARN.
    func (tid TargetID) ToARN(region string) ARN {
    	return ARN{TargetID: tid, region: region}
    }
    
    // MarshalJSON - encodes to JSON data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. cni/pkg/plugin/kubernetes.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type PodInfo struct {
    	Containers        sets.String
    	Labels            map[string]string
    	Annotations       map[string]string
    	ProxyType         string
    	ProxyEnvironments map[string]string
    	ProxyUID          *int64
    	ProxyGID          *int64
    }
    
    // newK8sClient returns a Kubernetes client
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        }
    
        @Override
        public Artifact createArtifact(String groupId, String artifactId, String version, String packaging) {
            return createArtifact(groupId, artifactId, version, null, packaging);
        }
    
        @Override
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertArrayEquals(new String[] { "a", "b" }, ArrayUtil.asArray("a", "b"));
            assertArrayEquals(new Integer[] { 1, 2 }, ArrayUtil.asArray(1, 2));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAddAll() throws Exception {
            final String[] array = new String[] { "111" };
            final String[] newArray = ArrayUtil.add(array, "222");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            return artifact;
        }
    
        private Artifact createTestArtifact(String directory, String type) throws IOException {
            return createTestArtifact(directory, "1.0", type);
        }
    
        private Artifact createTestArtifact(String directory, String version, String type) throws IOException {
            File testData = getTestFile(directory);
            FileUtils.deleteDirectory(testData);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top