Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for goto (0.09 sec)

  1. apache-maven/src/assembly/maven/bin/mvn.cmd

    if not "_%POM_DIR:~-1%"=="_\" goto pomDirStripped
    set "POM_DIR=%POM_DIR:~0,-1%"
    goto stripPomDir
    :pomDirStripped
    exit /b
    
    :findBaseDir
    cd /d "%WDIR%"
    set "WDIR=%CD%"
    :findBaseDirLoop
    if exist ".mvn" goto baseDirFound
    cd ..
    IF "%WDIR%"=="%CD%" goto baseDirNotFound
    set "WDIR=%CD%"
    goto findBaseDirLoop
    
    :baseDirFound
    set "MAVEN_PROJECTBASEDIR=%WDIR%"
    cd /d "%EXEC_DIR%"
    goto endDetectBaseDir
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. common/config/.golangci.yml

          - unslice
          - valSwap
          - weakCond
      depguard:
        rules:
          DenyGogoProtobuf:
            files:
              - $all
            deny:
              - pkg: github.com/gogo/protobuf
                desc: "gogo/protobuf is deprecated, use golang/protobuf"
          # deny for all go files
          AllGoFiles:
            files:
              - $all
            deny:
              - pkg: golang.org/x/net/http2/h2c
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    }
    
    func TestReaderSize(t *testing.T) {
    	if got, want := NewReader(nil).Size(), DefaultBufSize; got != want {
    		t.Errorf("NewReader's Reader.Size = %d; want %d", got, want)
    	}
    	if got, want := NewReaderSize(nil, 1234).Size(), 1234; got != want {
    		t.Errorf("NewReaderSize's Reader.Size = %d; want %d", got, want)
    	}
    }
    
    func TestWriterSize(t *testing.T) {
    	if got, want := NewWriter(nil).Size(), DefaultBufSize; got != want {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. istioctl/pkg/install/k8sversion/version_test.go

    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.version), func(t *testing.T) {
    			got, err := extractKubernetesVersion(c.version)
    			if c.errMsg != err && c.isValid {
    				t.Fatalf("\nwanted: %v \nbut found: %v", c.errMsg, err)
    			}
    			if got != c.expected {
    				t.Fatalf("wanted %v got %v", c.expected, got)
    			}
    		})
    	}
    }
    
    func TestIsK8VersionSupported(t *testing.T) {
    	cases := []struct {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 21:50:50 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. cmd/data-usage-cache_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ObjSizes")
    				return
    			}
    			if zb0002 != uint32(dataUsageBucketLen) {
    				err = msgp.ArrayError{Wanted: uint32(dataUsageBucketLen), Got: zb0002}
    				return
    			}
    			for za0001 := range z.ObjSizes {
    				z.ObjSizes[za0001], err = dc.ReadUint64()
    				if err != nil {
    					err = msgp.WrapError(err, "ObjSizes", za0001)
    					return
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/UrlNormalizer.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.path;
    
    /**
     * Normalizes a URL to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
     * model inheritance.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface UrlNormalizer {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java

    import org.apache.maven.model.Scm;
    import org.apache.maven.model.Site;
    import org.apache.maven.model.building.ModelBuildingRequest;
    
    /**
     * Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
     * model inheritance.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (1)
  8. cmd/admin-heal-ops.go

    		}
    		if res.result.ParityBlocks > 0 && res.result.DataBlocks > 0 && res.result.DataBlocks > res.result.ParityBlocks {
    			if got := countOKDrives(res.result.After.Drives); got < res.result.ParityBlocks {
    				res.result.Detail = fmt.Sprintf("quorum loss - expected %d minimum, got drive states in OK %d", res.result.ParityBlocks, got)
    			}
    		}
    		return h.pushHealResultItem(res.result)
    	case <-h.ctx.Done():
    		return nil
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    		return nil, nil, err
    	}
    	if crc, nbuf, err := msgp.ReadUint32Bytes(buf); err == nil {
    		// Read metadata CRC
    		buf = nbuf
    		if got := uint32(xxhash.Sum64(meta)); got != crc {
    			return nil, nil, fmt.Errorf("xlMetaV2.Load version(%d), CRC mismatch, want 0x%x, got 0x%x", minor, crc, got)
    		}
    	} else {
    		return nil, nil, err
    	}
    	data = buf
    	if data.validate() != nil {
    		data.repair()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                            tokBuf.append(tok.trim());
                            break;
                    }
                }
    
                // Handle case where end of token stream and
                // still got data
                if ((!exit) && (tokStarted)) {
                    retVal = tokBuf.toString();
                }
            }
    
            return optional ? "?" + retVal : retVal;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top