Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 173 for getPkg (0.16 sec)

  1. src/runtime/sema.go

    func semacquire(addr *uint32) {
    	semacquire1(addr, false, 0, 0, waitReasonSemacquire)
    }
    
    func semacquire1(addr *uint32, lifo bool, profile semaProfileFlags, skipframes int, reason waitReason) {
    	gp := getg()
    	if gp != gp.m.curg {
    		throw("semacquire not on the G stack")
    	}
    
    	// Easy case.
    	if cansemacquire(addr) {
    		return
    	}
    
    	// Harder case:
    	//	increment waiter count
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/tasks/IvyDescriptorFileGenerator.java

            private static void writeGlobalExclude(IvyExcludeRule excludeRule, OptionalAttributeXmlWriter xmlWriter) throws IOException {
                xmlWriter.startElement("exclude")
                    .attribute("org", excludeRule.getOrg())
                    .attribute("module", excludeRule.getModule())
                    .attribute("conf", excludeRule.getConf())
                    .endElement();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/runtime/checkptr.go

    //   - github.com/bytedance/sonic
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname checkptrBase
    func checkptrBase(p unsafe.Pointer) uintptr {
    	// stack
    	if gp := getg(); gp.stack.lo <= uintptr(p) && uintptr(p) < gp.stack.hi {
    		// TODO(mdempsky): Walk the stack to identify the
    		// specific stack frame or even stack object that p
    		// points into.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/runtime/traceback.go

    			return
    		}
    		print("\n")
    		goroutineheader(gp)
    		// Note: gp.m == getg().m occurs when tracebackothers is called
    		// from a signal handler initiated during a systemstack call.
    		// The original G is still in the running state, and we want to
    		// print its stack.
    		if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {
    			print("\tgoroutine running on other thread; stack unavailable\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. src/runtime/runtime1.go

    	}
    	return res
    }
    
    // Helpers for Go. Must be NOSPLIT, must only call NOSPLIT functions, and must not block.
    
    //go:nosplit
    func acquirem() *m {
    	gp := getg()
    	gp.m.locks++
    	return gp.m
    }
    
    //go:nosplit
    func releasem(mp *m) {
    	gp := getg()
    	mp.locks--
    	if mp.locks == 0 && gp.preempt {
    		// restore the preemption request in case we've cleared it in newstack
    		gp.stackguard0 = stackPreempt
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. src/runtime/mprof.go

    	var stw worldStop
    	if all {
    		stw = stopTheWorld(stwAllGoroutinesStack)
    	}
    
    	n := 0
    	if len(buf) > 0 {
    		gp := getg()
    		sp := getcallersp()
    		pc := getcallerpc()
    		systemstack(func() {
    			g0 := getg()
    			// Force traceback=1 to override GOTRACEBACK setting,
    			// so that Stack's results are consistent.
    			// GOTRACEBACK is only about crash dumps.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

        auto q =
            rewriter.create<QuantizeOpT>(op.getLoc(), result_type, op.getArg());
        q->setAttr(kVolatileOpAttrName, rewriter.getUnitAttr());
    
        auto dq = rewriter.create<DequantizeOpT>(op.getLoc(), op.getType(), q);
        op.getResult().replaceAllUsesWith(dq);
        q.getOperation()->replaceUsesOfWith(dq, op.getArg());
        op.erase();
    
        return success();
      }
    
     private:
      int num_bits;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. src/runtime/cgocall.go

    		throw("cgocall unavailable")
    	}
    
    	if fn == nil {
    		throw("cgocall nil")
    	}
    
    	if raceenabled {
    		racereleasemerge(unsafe.Pointer(&racecgosync))
    	}
    
    	mp := getg().m
    	mp.ncgocall++
    
    	// Reset traceback.
    	mp.cgoCallers[0] = 0
    
    	// Announce we are entering a system call
    	// so that the scheduler knows to create another
    	// M to run goroutines while we are in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/tasks/MavenPomFileGenerator.java

            target.setConnection(source.getConnection().getOrNull());
            target.setDeveloperConnection(source.getDeveloperConnection().getOrNull());
            target.setUrl(source.getUrl().getOrNull());
            target.setTag(source.getTag().getOrNull());
            return target;
        }
    
        private static IssueManagement convertIssueManagement(MavenPomIssueManagement source) {
            IssueManagement target = new IssueManagement();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

        int input_idx = 0;
        for (int i = 0; i < args_in_dag->getNumArgs(); i++) {
          if (args_in_dag->getArgName(i)->getAsString() == "\"input\"")
            input_idx = i;
        }
        if (CheckTypeConstraints(args_in_dag->getArg(input_idx), required_types,
                                 per_axis)) {
          std::string op_name = op.getCppClassName().str();
    
          // TODO(b/197195711): Please add the additional operations for 16x8 MLIR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top