Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for c1 (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

      }
    
      @Test
      fun cancelingRunningJobTakesNoEffectUntilJobFinishes() {
        dispatcher.maxRequests = 1
        val c1 = client.newCall(newRequest("http://a/1", "tag1"))
        val c2 = client.newCall(newRequest("http://a/2"))
        c1.enqueue(callback)
        c2.enqueue(callback)
        c1.cancel()
        executor.assertJobs("http://a/1")
        executor.finishJob("http://a/1")
        executor.assertJobs("http://a/2")
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Ascii.java

          return true;
        }
        if (length != s2.length()) {
          return false;
        }
        for (int i = 0; i < length; i++) {
          char c1 = s1.charAt(i);
          char c2 = s2.charAt(i);
          if (c1 == c2) {
            continue;
          }
          int alphaIndex = getAlphaIndex(c1);
          // This was also benchmarked using '&' to avoid branching (but always evaluate the rhs),
          // however this showed no obvious improvement.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            project.setBuild(new Build());
    
            // Build up an artifactMap
            project.addArtifact(new Artifact("g0", "a0", "v0", "e0", "c0"));
            project.addArtifact(new Artifact("g1", "a1", "v1", "e1", "c1"));
            project.addArtifact(new Artifact("g2", "a2", "v2", "e2", "c2"));
        }
    
        /**
         * <p>testValueExtraction.</p>
         *
         * @throws Exception if any.
         */
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    			}
    		} else {
    			// If bytealg.Index is not available a brute force search is
    			// ~1.5-3x faster than Rabin-Karp since n is small.
    			c0 := b[last]
    			c1 := b[last-1] // There are at least 2 chars to match
    		loop:
    			for ; i < len(s); i++ {
    				if s[i] == c0 && s[i-1] == c1 {
    					for k := 2; k < n; k++ {
    						if s[i-k] != b[last-k] {
    							continue loop
    						}
    					}
    					return i - last
    				}
    			}
    		}
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Sep 16 16:42:15 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/MultiChannelManager.java

                    return channels.get(index);
    
                case LEAST_CONNECTIONS:
                    return channels.stream()
                            .min((c1, c2) -> Integer.compare(c1.getActiveConnections(), c2.getActiveConnections()))
                            .orElse(channels.get(0));
    
                case RANDOM:
                    return channels.get((int) (Math.random() * channels.size()));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. tests/association_generics_test.go

    	ctx := context.Background()
    
    	// Create companies
    	c1 := Company{Name: "Electronics"}
    	c2 := Company{Name: "Books"}
    	if err := DB.Create(&c1).Error; err != nil {
    		t.Fatalf("create c1: %v", err)
    	}
    	if err := DB.Create(&c2).Error; err != nil {
    		t.Fatalf("create c2: %v", err)
    	}
    
    	// Create users with companies
    	u1 := User{Name: "John", Age: 25, CompanyID: &c1.ID}
    	u2 := User{Name: "Jane", Age: 30, CompanyID: &c2.ID}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 05:42:26 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    } else {
                        // X-1 is going to be treated as X1
                        if (!isDigit && i != version.length() - 1) {
                            char c1 = version.charAt(i + 1);
                            if (Character.isDigit(c1)) {
                                isCombination = true;
                                continue;
                            }
                        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

     *   <li>Ranges are <i>convex</i>: whenever two values are contained, all values in between them
     *       must also be contained. More formally, for any {@code c1 <= c2 <= c3} of type {@code C},
     *       {@code r.contains(c1) && r.contains(c3)} implies {@code r.contains(c2)}). This means that a
     *       {@code Range<Integer>} can never be used to represent, say, "all <i>prime</i> numbers from
     *       1 to 100."
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 28K bytes
    - Viewed (0)
  9. internal/s3select/select_test.go

    		{
    			name: "select-is_not_string",
    			input: []byte(`c1,c2,c3
    1,2,3
    1,,3`),
    			query:      `select * from S3object where _2 IS NOT ''`,
    			wantResult: `{"c1":"1","c2":"2","c3":"3"}`,
    		},
    		{
    			name: "select-is_not_string",
    			input: []byte(`c1,c2,c3
    1,2,3
    1,,3`),
    			query:      `select * from S3object where _2 != '' AND _2 > 1`,
    			wantResult: `{"c1":"1","c2":"2","c3":"3"}`,
    		},
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

          assertThat(it.edit()).isNull()
        }
        assertThat(cache.size()).isEqualTo(0L)
      }
    
      @Test
      fun iterator() {
        set("a", "a1", "a2")
        set("b", "b1", "b2")
        set("c", "c1", "c2")
        val iterator = cache.snapshots()
        assertThat(iterator.hasNext()).isTrue()
        iterator.next().use {
          assertThat(it.key()).isEqualTo("a")
          it.assertValue(0, "a1")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
Back to top