Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 662 for skipif (0.07 sec)

  1. tests/migrate_test.go

    	AssertEqual(t, nil, err)
    }
    
    func TestMigrateWithDefaultValue(t *testing.T) {
    	if DB.Dialector.Name() == "sqlserver" {
    		// sqlserver driver treats NULL and 'NULL' the same
    		t.Skip("skip sqlserver")
    	}
    
    	type NullModel struct {
    		ID      uint
    		Content string `gorm:"default:null"`
    	}
    
    	type NullStringModel struct {
    		ID      uint
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. docs/metrics/prometheus/README.md

    ```
    
    ### 3. Configuring Prometheus
    
    #### 3.1 Authenticated Prometheus config
    
    > If MinIO is configured to expose metrics without authentication, you don't need to use `mc` to generate prometheus config. You can skip reading further and move to 3.2 section.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 12 15:49:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

            E element = (E) elements[0];
            return of(element);
          default:
            return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(elements));
        }
      }
    
      // Factory method that skips the null checks.  Used only when the elements
      // are guaranteed to be non-null.
      static <E> ImmutableList<E> unsafeDelegateList(List<? extends E> list) {
        switch (list.size()) {
          case 0:
            return of();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. cmd/admin-handlers-idp-ldap.go

    			for _, sts := range stsKeys {
    				accessKeys.STSKeys = append(accessKeys.STSKeys, madmin.ServiceAccountInfo{
    					AccessKey:  sts.AccessKey,
    					Expiration: &sts.Expiration,
    				})
    			}
    			// if only STS keys, skip if user has no STS keys
    			if !listServiceAccounts && len(stsKeys) == 0 {
    				continue
    			}
    		}
    
    		if listServiceAccounts {
    			serviceAccounts, err := globalIAMSys.ListServiceAccounts(ctx, internalDN)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    	buf, err := io.ReadAll(io.LimitReader(r, maxSpecialFileSize+1))
    	if len(buf) > maxSpecialFileSize {
    		return nil, ErrFieldTooLong
    	}
    	return buf, err
    }
    
    // discard skips n bytes in r, reporting an error if unable to do so.
    func discard(r io.Reader, n int64) error {
    	// If possible, Seek to the last byte before the end of the data section.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. cmd/metacache-stream_test.go

    		t.Errorf("got unexpected result: %#v", names)
    	}
    	err = r.skip(5)
    	if err != nil {
    		t.Fatal(err)
    	}
    	names, err = r.readNames(5)
    	if err != nil {
    		t.Fatal(err)
    	}
    	want = loadMetacacheSampleNames[10:15]
    	if !reflect.DeepEqual(names, want) {
    		t.Errorf("got unexpected result: %#v", names)
    	}
    
    	err = r.skip(len(loadMetacacheSampleNames))
    	if err != io.EOF {
    		t.Fatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 15K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/IntMathTest.java

      public void testDivNonZero() {
        for (int p : NONZERO_INTEGER_CANDIDATES) {
          for (int q : NONZERO_INTEGER_CANDIDATES) {
            for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
              // Skip some tests that fail due to GWT's non-compliant int implementation.
              // TODO(cpovirk): does this test fail for only some rounding modes or for all?
              if (p == -2147483648 && q == -1 && intsCanGoOutOfRange()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/dependencies/index.md

    ```
    
    大功告成。
    
    只用了**2 行**代码。
    
    依赖项函数的形式和结构与*路径操作函数*一样。
    
    因此,可以把依赖项当作没有「装饰器」(即,没有 `@app.get("/some-path")` )的路径操作函数。
    
    依赖项可以返回各种内容。
    
    本例中的依赖项预期接收如下参数:
    
    * 类型为 `str` 的可选查询参数 `q`
    * 类型为 `int` 的可选查询参数 `skip`,默认值是 `0`
    * 类型为 `int` 的可选查询参数 `limit`,默认值是 `100`
    
    然后,依赖项函数返回包含这些值的 `dict`。
    
    ### 导入 `Depends`
    
    ```Python hl_lines="3"
    {!../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ### 声明依赖项
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            if (flowControlError) {
              source.skip(remainingByteCount)
              closeLater(ErrorCode.FLOW_CONTROL_ERROR)
              return
            }
    
            // Discard data received after the stream is finished. It's probably a benign race.
            if (finished) {
              source.skip(remainingByteCount)
              return
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top