Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 594 for checkMod (0.16 sec)

  1. src/go/printer/printer_test.go

    var fset = token.NewFileSet()
    
    type checkMode uint
    
    const (
    	export checkMode = 1 << iota
    	rawFormat
    	normNumber
    	idempotent
    	allowTypeParams
    )
    
    // format parses src, prints the corresponding AST, verifies the resulting
    // src is syntactically correct, and returns the resulting src or an error
    // if any.
    func format(src []byte, mode checkMode) ([]byte, error) {
    	// parse src
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. pkg/kube/labels/labels.go

    // - service.istio.io/canonical-revision
    //
    // If the labels are not in the map, a set of fallbacks are checked. For canonical name,
    // `app.kubernetes.io/name` is checked, then `app`, evenutually falling back to the
    // supplied `workloadName`. For canonical revision, `app.kubernetes.io/version` is checked,
    // followed by `version` and finally defaulting to the literal value of `"latest"`.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt

                    if (referenceSelector != null) {
                        Element(PropertyAccess(checked(receiver!!), checked(referenceSelector!!), referenceSourceData!!))
                    } else {
                        val functionCall = checked(functionCallSelector!!)
                        Element(FunctionCall(checked(receiver!!), functionCall.name, functionCall.args, functionCall.sourceData))
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  4. pkg/api/service/util_test.go

    		}
    		return cidrs
    	}
    	cidrs := checkOK("192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR: %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR (after de-dup): %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.2/32")
    	if len(cidrs) != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. pkg/api/v1/service/util_test.go

    		}
    		return cidrs
    	}
    	cidrs := checkOK("192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR: %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR (after de-dup): %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.2/32")
    	if len(cidrs) != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/parsingUtil.kt

            }
            return result
        }
    
        interface CheckBarrierContext {
    
            fun <T : LanguageTreeElement> checked(result: CheckedResult<ElementResult<T>>): T {
                val value = result.value
                check(value is Element<T>)
                return value.element
            }
    
            fun <T> checked(result: CheckedResult<SyntacticResult<T>>): T {
                val value = result.value
                check(value is Syntactic<T>)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

    using ::testing::NotNull;
    using ::tsl::testing::StatusIs;
    
    PJRT_Buffer* CreateCBuffer() {
      auto status = pjrt::PjrtApi(DEVICE_CPU);
      if (!status.ok()) {
        CHECK_OK(pjrt::SetPjrtApi(DEVICE_CPU, GetPjrtApi()));
      }
      auto pjrt_client = xla::GetCApiClient(DEVICE_CPU);
      CHECK_OK(pjrt_client.status());
      auto c_api_client = down_cast<xla::PjRtCApiClient*>(pjrt_client->get());
      std::vector<int32_t> data(1, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 16:29:40 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/runtime/cgocheck.go

    			}
    			src = add(src, at.Elem.Size_)
    			skipped := off
    			if skipped > at.Elem.Size_ {
    				skipped = at.Elem.Size_
    			}
    			checked := at.Elem.Size_ - skipped
    			off -= skipped
    			if size <= checked {
    				return
    			}
    			size -= checked
    		}
    	case abi.Struct:
    		st := (*structtype)(unsafe.Pointer(typ))
    		for _, f := range st.Fields {
    			if off < f.Typ.Size_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ErroringAction.java

    import org.gradle.api.Action;
    
    /**
     * Action adapter/implementation for action code that may throw exceptions.
     *
     * Implementations implement doExecute() (instead of execute()) which is allowed to throw checked exceptions.
     * Any checked exceptions thrown will be wrapped as unchecked exceptions and re-thrown.
     *
     * How the exception is wrapped is subject to {@link UncheckedException#throwAsUncheckedException(Throwable)}.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Closer.java

       * IOException}, {@code RuntimeException}, {@code Error} or a checked exception of the given type.
       * Otherwise, it will be rethrown wrapped in a {@code RuntimeException}. <b>Note:</b> Be sure to
       * declare all of the checked exception types your try block can throw when calling an overload of
       * this method so as to avoid losing the original exception type.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top