Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for checkMod (0.48 sec)

  1. src/cmd/go/internal/modfetch/fetch.go

    			if foundSum != "" && foundSum != h { // conflicting sums exist
    				return "", false
    			}
    			foundSum = h
    		}
    	}
    	return foundSum, true
    }
    
    // checkMod checks the given module's checksum and Go version.
    func checkMod(ctx context.Context, mod module.Version) {
    	// Do the file I/O before acquiring the go.sum lock.
    	ziphash, err := CachePath(ctx, mod, "ziphash")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/cache.go

    		return dir, err
    	}
    
    	// Check if a .ziphash file exists. It should be created before the
    	// zip is extracted, but if it was deleted (by another program?), we need
    	// to re-calculate it. Note that checkMod will repopulate the ziphash
    	// file if it doesn't exist, but if the module is excluded by checks
    	// through GONOSUMDB or GOPRIVATE, that check and repopulation won't happen.
    	ziphashPath, err := CachePath(ctx, m, "ziphash")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/mmu.go

            </p>
            <p>
              <b>Include</b><br>
              <input type="checkbox" id="stw" checked><label for="stw">STW</label>
              <span class="help">?<span>Stop-the-world stops all goroutines simultaneously.</span></span><br>
              <input type="checkbox" id="background" checked><label for="background">Background workers</label>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  4. src/go/token/position_test.go

    		}
    	}
    
    	apos3 := a.Pos(3)
    	bpos3 := b.Pos(3)
    	checkPos(apos3, "fileA:1:4")
    	checkPos(bpos3, "fileB:1:4")
    	checkNumFiles(2)
    
    	// After removal, queries on fileA fail.
    	fset.RemoveFile(a)
    	checkPos(apos3, "-")
    	checkPos(bpos3, "fileB:1:4")
    	checkNumFiles(1)
    
    	// idempotent / no effect
    	fset.RemoveFile(a)
    	checkPos(apos3, "-")
    	checkPos(bpos3, "fileB:1:4")
    	checkNumFiles(1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. android/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)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/AbstractTablePageGenerator.java

                            div().classAttr("form-check");
                                label().classAttr("form-check-label");
                                    input().classAttr("form-check-input").type("checkbox").checked("true").value(tag.getName()).end();
                                    if(tag.isValid()) {
                                        span().classAttr(tag.getClassAttr()).text(tag.getName()).end();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Suppliers.java

        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (this) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
                return t;
              }
            }
          }
          // This is safe because we checked `initialized`.
          return uncheckedCastNullableTToT(value);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top