Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 568 for jorn (0.12 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testJoin() {
        assertThat(Ints.join(",", EMPTY)).isEmpty();
        assertThat(Ints.join(",", ARRAY1)).isEqualTo("1");
        assertThat(Ints.join(",", (int) 1, (int) 2)).isEqualTo("1,2");
        assertThat(Ints.join("", (int) 1, (int) 2, (int) 3)).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<int[]> ordered =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testJoin() {
        assertThat(Floats.join(",", EMPTY)).isEmpty();
        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", (float) 1, (float) 2)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", (float) 1, (float) 2, (float) 3)).isEqualTo("1.02.03.0");
      }
    
      public void testLexicographicalComparator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      public void testJoin() {
        assertThat(Longs.join(",", EMPTY)).isEmpty();
        assertThat(Longs.join(",", ARRAY1)).isEqualTo("1");
        assertThat(Longs.join(",", (long) 1, (long) 2)).isEqualTo("1,2");
        assertThat(Longs.join("", (long) 1, (long) 2, (long) 3)).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

          for (String separator : ImmutableList.of(",", "\n", ";;", "")) {
            testEncoding(
                encoding.withSeparator(separator, sepLength),
                decoded,
                Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded)));
          }
        }
      }
    
      private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) {
        testEncodes(encoding, decoded, encoded);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * separator}. For example, {@code join("-", 1, 2, 3)} returns the string {@code "1-2-3"}.
       *
       * @param separator the text that should appear between consecutive values in the resulting string
       *     (but not at the start or end)
       * @param array an array of unsigned {@code long} values, possibly empty
       */
      public static String join(String separator, long... array) {
        checkNotNull(separator);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. docs/uk/docs/python-types.md

    ///
    
    ## Мотивація
    
    Давайте почнемо з простого прикладу:
    
    ```Python
    {!../../docs_src/python_types/tutorial001.py!}
    ```
    
    Виклик цієї програми виводить:
    
    ```
    John Doe
    ```
    
    Функція виконує наступне:
    
    * Бере `first_name` та `last_name`.
    * Конвертує кожну літеру кожного слова у верхній регістр за допомогою `title()`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. docs/zh/docs/python-types.md

    /// note
    
    如果你已经精通 Python,并且了解关于类型提示的一切知识,直接跳到下一章节吧。
    
    ///
    
    ## 动机
    
    让我们从一个简单的例子开始:
    
    ```Python
    {!../../docs_src/python_types/tutorial001.py!}
    ```
    
    运行这段程序将输出:
    
    ```
    John Doe
    ```
    
    这个函数做了下面这些事情:
    
    * 接收 `first_name` 和 `last_name` 参数。
    * 通过 `title()` 将每个参数的第一个字母转换为大写形式。
    * 中间用一个空格来<abbr title="将它们按顺序放置组合成一个整体。">拼接</abbr>它们。
    
    ```Python hl_lines="2"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. internal/kms/config.go

    			if err != nil && !os.IsNotExist(err) {
    				return nil, err
    			}
    			if os.IsNotExist(err) {
    				// Relative path where "/run/secrets" is the default docker path for secrets
    				b, err = os.ReadFile(filepath.Join("/run/secrets", env.Get(EnvKMSSecretKeyFile, "")))
    			}
    			if err != nil {
    				return nil, err
    			}
    			s = string(b)
    		} else {
    			s = env.Get(EnvKMSSecretKey, "")
    		}
    		return ParseSecretKey(s)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. cmd/config-migrate.go

    }
    
    func readConfigWithoutMigrate(ctx context.Context, objAPI ObjectLayer) (config.Config, error) {
    	// Construct path to config.json for the given bucket.
    	configFile := path.Join(minioConfigPrefix, minioConfigFile)
    
    	configFiles := []string{
    		getConfigFile(),
    		getConfigFile() + ".deprecated",
    		configFile,
    	}
    
    	newServerCfg := func() (config.Config, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. gorm.go

    }
    
    // Expr returns clause.Expr, which can be used to pass SQL expression as params
    func Expr(expr string, args ...interface{}) clause.Expr {
    	return clause.Expr{SQL: expr, Vars: args}
    }
    
    // SetupJoinTable setup join table schema
    func (db *DB) SetupJoinTable(model interface{}, field string, joinTable interface{}) error {
    	var (
    		tx                      = db.getInstance()
    		stmt                    = tx.Statement
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top