Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for quirks (0.18 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        }
    
        /**
         * Retrieves the corresponding [KtUserType] PSI the given [FirResolvedTypeRef].
         *
         * This code handles some quirks of FIR sources and PSI:
         * - in `vararg args: String` declaration, `String` type reference has fake source, but `Array<String>` has real source
         * (see [KtFakeSourceElementKind.ArrayTypeFromVarargParameter]).
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://\u2121").host).isEqualTo("tel")
    
        // Map the Kelvin symbol (K) to the string "k".
        assertThat(parse("http://\u212A").host).isEqualTo("k")
      }
    
      @Test
      fun quirks() {
        assertThat(parse("http://facebook.com").host).isEqualTo("facebook.com")
        assertThat(parse("http://facebooK.com").host).isEqualTo("facebook.com")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            resolutionResult.getDependencyGraph().getChildren(),
                            Collections.singletonList(project.getArtifact().getId()),
                            null);
    
                    // Maven 2.x quirk: an artifact always points at the local repo, regardless whether resolved or not
                    LocalRepositoryManager lrm = session.getLocalRepositoryManager();
                    for (Artifact artifact : artifacts) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

          T result = valueOrNull;
          valueOrNull = null;
          // We put the common case first, even though it's unlikely to matter if the code is run much:
          // https://shipilev.net/jvm/anatomy-quarks/28-frequency-based-code-layout/
          if (result != null) {
            return result;
          }
          throw new NoSuchElementException();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    		}
    	}
    	return dds, nil
    }
    
    // sortByModTime will sort versions by modtime in descending order,
    // meaning index 0 will be latest version.
    func (x *xlMetaV2) sortByModTime() {
    	// Quick check
    	if len(x.versions) <= 1 || sort.SliceIsSorted(x.versions, func(i, j int) bool {
    		return x.versions[i].header.sortsBefore(x.versions[j].header)
    	}) {
    		return
    	}
    
    	// We should sort.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  6. src/bytes/bytes_test.go

    				for i := 0; i < b.N; i++ {
    					Trim(x[:k], cs[:j])
    				}
    			})
    		}
    	}
    }
    
    func BenchmarkTrimByte(b *testing.B) {
    	x := []byte("  the quick brown fox   ")
    	for i := 0; i < b.N; i++ {
    		Trim(x, " ")
    	}
    }
    
    func BenchmarkIndexPeriodic(b *testing.B) {
    	key := []byte{1, 1}
    	for _, skip := range [...]int{2, 4, 8, 16, 32, 64} {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

        TF_DeleteTensor(dst);
      }
    }
    
    TEST(CAPI, TensorEncodeDecodeStrings) {
      TestEncodeDecode(__LINE__, {});
      TestEncodeDecode(__LINE__, {"hello"});
      TestEncodeDecode(__LINE__,
                       {"the", "quick", "brown", "fox", "jumped", "over"});
    
      string big(1000, 'a');
      TestEncodeDecode(__LINE__, {"small", big, "small2"});
    }
    
    TEST(CAPI, SessionOptions) {
      TF_SessionOptions* opt = TF_NewSessionOptions();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top