Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 434 for logic (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.internal.TlsUtil.localhost
    
    /**
     * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against
     * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes
     * it easy to get sample values to use in such tests.
     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. pkg/controller/nodeipam/ipam/cidr_allocator.go

    	AllocateOrOccupyCIDR(ctx context.Context, node *v1.Node) error
    	// ReleaseCIDR releases the CIDR of the removed node.
    	ReleaseCIDR(logger klog.Logger, node *v1.Node) error
    	// Run starts all the working logic of the allocator.
    	Run(ctx context.Context)
    }
    
    // CIDRAllocatorParams is parameters that's required for creating new
    // cidr range allocator.
    type CIDRAllocatorParams struct {
    	// ClusterCIDRs is list of cluster cidrs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/join/preflight.go

    			options.TokenDiscovery,
    			options.TokenDiscoveryCAHash,
    			options.TokenDiscoverySkipCAHash,
    			options.CertificateKey,
    			options.DryRun,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    func runPreflight(c workflow.RunData) error {
    	j, ok := c.(JoinData)
    	if !ok {
    		return errors.New("preflight phase invoked with an invalid data struct")
    	}
    	fmt.Println("[preflight] Running pre-flight checks")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h

      }
    };
    
    // Inserts a "tfl.quantize" and "tfl.dequantize" op pair (QDQs) after the
    // tf.FakeQyantWithMinMax{Vars|VarsPerChannel|Args}Op
    // before the op being constant folded. Since the constant
    // folding logic will use a "arith.constant" op to replace the
    // "tf.FakeQuantWithMinMaxVarsOp", the "tfl.quantize" op is used to preserve
    // the quantization parameters as a TypeAttr and "tfl.dequantize" op used to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. pilot/pkg/model/destination_rule.go

    // IOW, given three dest rules (*.foo.com, *.foo.com, *.com) without selectors, calling this function for
    // each config will result in a final dest rule set (*.foo.com, and *.com).
    //
    // The following is the merge logic:
    // 1. Unique subsets (based on subset name) are concatenated to the original rule's list of subsets
    // 2. If the original rule did not have any top level traffic policy, traffic policies from the new rule will be
    // used.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 07:22:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // This file implements logic for legalizing HLO to TensorFlow.
    
    #include <cassert>
    #include <cstdint>
    #include <memory>
    #include <optional>
    #include <utility>
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

    abstract class AbstractProcessInstrumentationIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        // Note that all tests use a relative path to the script because its absolute path may contain
        // spaces and it breaks logic String.execute which splits the given string at spaces without
        // any options to escape the space.
        ShellScript baseScript = ShellScript.builder().printEnvironmentVariable('FOOBAR').printWorkingDir().writeTo(testDirectory, "test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_node_status.go

    		return false
    	}
    
    	if originalNodeReady.Status == v1.ConditionTrue {
    		return true
    	}
    
    	// This is in addition to the regular syncNodeStatus logic so we can get the container runtime status earlier.
    	// This function itself has a mutex and it doesn't recursively call fastNodeStatusUpdate or syncNodeStatus.
    	kl.updateRuntimeUp()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * A {@link TransferListener} implementation that wraps another delegate {@link TransferListener} but makes it run
     * on single thread, keeping the listener logic simple. This listener also blocks on last transfer event to allow
     * output to perform possible cleanup. It spawns a daemon thread to consume queued events that may fall in even
     * concurrently.
     *
     * @since 4.0.0
     */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 20:50:56 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

         * @param actualOsName the OS name to check against
         * @return true if the OS matches
         *
         */
        public static boolean isFamily(String family, String actualOsName) {
            // windows probing logic relies on the word 'windows' in the OS
            boolean isWindows = actualOsName.contains(FAMILY_WINDOWS);
            boolean is9x = false;
            boolean isNT = false;
            if (isWindows) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top