Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for go_functions (0.44 sec)

  1. src/cmd/link/internal/ld/xcoff.go

    				// the relocation phase.
    				// Therefore, all packages are merged under a fake .FILE
    				// "go_functions".
    				// TODO(aix); remove once ld has been fixed or the triggering
    				// relocation has been found and fixed.
    				if currSymSrcFile.name == "" {
    					currSymSrcFile.name = ldr.SymPkg(x)
    					f.writeSymbolNewFile(ctxt, "go_functions", uint64(ldr.SymValue(x)), xfile.getXCOFFscnum(ldr.SymSect(x)))
    				}
    			}
    
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcarchive/testdata/libgo7/sink.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "C"
    
    var sink []byte
    
    //export GoFunction7
    func GoFunction7() {
    	sink = make([]byte, 4096)
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 291 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcarchive/testdata/libgo8/a.go

    )
    
    var started int32
    
    // Start a goroutine that loops forever.
    func init() {
    	runtime.GOMAXPROCS(1)
    	go func() {
    		for {
    			atomic.StoreInt32(&started, 1)
    		}
    	}()
    }
    
    //export GoFunction8
    func GoFunction8() {
    	for atomic.LoadInt32(&started) == 0 {
    		runtime.Gosched()
    	}
    	os.Exit(0)
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 529 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcarchive/testdata/main8.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test preemption.
    
    #include <stdlib.h>
    
    #include "libgo8.h"
    
    int main() {
    	GoFunction8();
    
    	// That should have exited the program.
    	abort();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 306 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcarchive/testdata/main7.c

    // license that can be found in the LICENSE file.
    
    // Test that lots of calls don't deadlock.
    
    #include <stdio.h>
    
    #include "libgo7.h"
    
    int main() {
    	int i;
    
    	for (i = 0; i < 100000; i++) {
    		GoFunction7();
    	}
    	return 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 332 bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/saved_model_api.h

                                 ConcreteFunction** function) = 0;
    
      // Retrieve a list of child functions from a SavedModel given a starting node.
      // 0 is the root node.
      virtual Status GetFunctions(
          int node_id,
          absl::flat_hash_map<std::string, ConcreteFunction*>* functions) = 0;
    
      // Retrieve a SignatureDefFunction from a SavedModel, using the key of the
      // SignatureDef map:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 04 17:05:58 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.h

    class TFSavedModelAPI : public SavedModelAPI {
     public:
      Status GetFunction(const std::string& function_path,
                         ConcreteFunction** function) override;
    
      Status GetFunctions(
          int node_id,
          absl::flat_hash_map<std::string, ConcreteFunction*>* functions) override;
    
      Status GetSignatureDefFunction(const std::string& signature_def_key,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

      if (*function == nullptr) {
        return errors::NotFound("No function found at path ", function_path);
      }
    
      return Status();
    }
    
    Status TFSavedModelAPI::GetFunctions(
        int node_id,
        absl::flat_hash_map<std::string, ConcreteFunction*>* functions) {
      const auto& nodes = bundle_.saved_object_graph().nodes();
      if (node_id >= nodes.size()) {
        return errors::OutOfRange(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

                                                    const TF_Function* grad,
                                                    TF_Status* status);
    
    // Returns the number of TF_Functions registered in `g`.
    TF_CAPI_EXPORT extern int TF_GraphNumFunctions(TF_Graph* g);
    
    // Fills in `funcs` with the TF_Function* registered in `g`.
    // `funcs` must point to an array of TF_Function* of length at least
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                    // Collect constructors
                    findAvailableConstructors(scope, name).mapTo(this) { AvailableSymbol(it, importKind) }
    
                    // Collect functions
                    scope.getFunctions(name).mapTo(this) { AvailableSymbol(it, importKind) }
                }
            }
        }
    
        fun findPropertiesInScopes(scopes: List<FirScope>, name: Name): List<AvailableSymbol<FirVariableSymbol<*>>> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
Back to top