Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for _encapsulate (0.2 sec)

  1. src/crypto/internal/mlkem768/mlkem768_test.go

    	for i := 0; i < len(ek)-1; i++ {
    		if _, _, err := Encapsulate(ek[:i]); err == nil {
    			t.Errorf("expected error for ek length %d", i)
    		}
    	}
    	ekLong := ek
    	for i := 0; i < 100; i++ {
    		ekLong = append(ekLong, 0)
    		if _, _, err := Encapsulate(ekLong); err == nil {
    			t.Errorf("expected error for ek length %d", len(ekLong))
    		}
    	}
    
    	c, _, err := Encapsulate(ek)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/crypto/internal/mlkem768/mlkem768.go

    	}
    
    	return dk
    }
    
    // Encapsulate generates a shared key and an associated ciphertext from an
    // encapsulation key, drawing random bytes from crypto/rand.
    // If the encapsulation key is not valid, Encapsulate returns an error.
    //
    // The shared key must be kept secret.
    func Encapsulate(encapsulationKey []byte) (ciphertext, sharedKey []byte, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc

    include::sample[dir="snippets/plugins/multiproject/groovy", files="settings.gradle[tags=include-subprojects];build.gradle[tags=plugins-on-subprojects];hello-a/build.gradle[];hello-b/build.gradle[];goodbye-c/build.gradle[]"]
    ====
    
    You can also encapsulate the versions of external plugins by composing the build logic using your own <<sharing_build_logic_between_subprojects#sec:convention_plugins,convention plugins>>.
    
    [[sec:buildsrc_plugins_dsl]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      call_def->set_op(absl::StrCat(call_def->op(), "_", fingerprint));
      return absl::OkStatus();
    }
    
    }  // namespace
    
    /*static*/ Status EncapsulateXlaComputationsPass::Encapsulate(
        std::unique_ptr<Graph>* graph, FunctionLibraryDefinition* flib_def) {
      // Check for undeclared outputs before Encapsulation, so we can give a better
      // error message.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/custom_plugins.adoc

    [[custom_plugins]]
    = Understanding Plugins
    
    Gradle comes with a set of powerful core systems such as dependency management, task execution, and project configuration.
    But everything else it can do is supplied by plugins.
    
    Plugins encapsulate logic for specific tasks or integrations, such as compiling code, running tests, or deploying artifacts.
    By applying plugins, users can easily add new features to their build process without having to write complex code from scratch.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 21:49:49 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        } catch (e: ClassNotFoundException) {
          null
        } catch (e: RuntimeException) {
          // Throws InaccessibleObjectException (added in JDK9) on JDK 17 due to
          // JEP 403 Strongly Encapsulate JDK Internals.
          if (e.javaClass.name != "java.lang.reflect.InaccessibleObjectException") {
            throw e
          }
    
          null
        }
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc

      // Guarantee all functions have one use, which enables more exact shape
      // inference.
      pm.addPass(mlir::TF::CreateGuaranteeAllFuncsOneUsePass());
      pm.addPass(mlir::TF::CreateTFShapeInferencePass());
      // Encapsulate PartitionedCall ops within a cluster so that the composite
      // resource ops can be decomposed.
      pm.addPass(tensorflow::tf2xla::internal::CreateXlaClusterFormationPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 16:09:14 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/DefaultLocalConfigurationMetadataBuilder.java

    import org.gradle.internal.model.ModelContainer;
    
    import javax.annotation.Nullable;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Encapsulates all logic required to build a {@link LocalConfigurationMetadata} from a
     * {@link ConfigurationInternal}. Utilizes caching to prevent unnecessary duplicate conversions
     * between DSL and internal metadata types.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc

    ----
    =====
    
    [[sec:convention_plugins]]
    == Share logic using convention plugins
    
    Gradle's recommended way of organizing build logic is to use its plugin system.
    
    We can write a plugin that encapsulates the build logic common to several subprojects in a project.
    This kind of plugin is called a *convention plugin*.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 12:58:46 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_device.h

          TF_GUARDED_BY(global_mu_);
    };
    
    // Builds OpKernel registrations on 'device' for the JIT operators
    // registered on 'jit_device'. Returns ownership of a XlaDeviceOpRegistrations
    // object that encapsulates the kernel registrations.
    struct XlaDeviceOpRegistrations {
      std::vector<std::unique_ptr<kernel_factory::OpKernelRegistrar>>
          op_kernel_registrars;
    };
    
    XlaDeviceOpRegistrations* RegisterXlaDeviceKernels(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top