Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 376 for Targs (0.02 sec)

  1. cmd/logging.go

    	}
    }
    
    func iamLogEvent(ctx context.Context, msg string, args ...interface{}) {
    	logger.Event(ctx, "iam", msg, args...)
    }
    
    func rebalanceLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "rebalance", err, errKind...)
    }
    
    func rebalanceLogEvent(ctx context.Context, msg string, args ...interface{}) {
    	logger.Event(ctx, "rebalance", msg, args...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 18:49:48 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. lib/time/mkzip.go

    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    	if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") {
    		usage()
    	}
    
    	var zb bytes.Buffer
    	zw := zip.NewWriter(&zb)
    	seen := make(map[string]bool)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. docs/debugging/reorder-disks/main.go

    		}
    	}
    	return "", errors.New("format.json is corrupted")
    }
    
    func main() {
    	var node, args string
    
    	flag.StringVar(&node, "local-node-name", "", "the name of the local node")
    	flag.StringVar(&args, "args", "", "arguments passed to MinIO server")
    
    	flag.Parse()
    
    	localDisks, err := filterLocalDisks(node, args)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	if len(localDisks) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl
    
    import kotlin.system.exitProcess
    
    fun main(args: Array<String>) {
      Main().main(args)
      exitProcess(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 728 bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

        echo "buildifier formatting is recommended. Here are the suggested fixes:"
        echo "============================="
        grep -e 'BUILD' $BATS_FILE_TMPDIR/changed_files \
            | xargs buildifier -v -mode=diff -diff_command="git diff --no-index"
    }
    
    # Note: this is excluded on the full code base, since any submitted code must
    # have passed Google's internal style guidelines.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      /** Format the template with args, only supports the placeholder {@code %s}. */
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
      /** See {@link ListListIteratorTester} */
      static int listListIteratorTesterNumIterations() {
        return 4;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  7. internal/config/notify/parse.go

    			return nil, err
    		}
    		for id, args := range kafkaTargets {
    			if !args.Enable {
    				continue
    			}
    			args.TLS.RootCAs = transport.TLSClientConfig.RootCAs
    			t, err := target.NewKafkaTarget(id, args, logOnceIf)
    			if err != nil {
    				return nil, err
    			}
    			targets = append(targets, t)
    
    		}
    
    	case config.NotifyMQTTSubSys:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  8. internal/config/errors-utils.go

    // Msgf - Replace the current error's message
    func (u Err) Msgf(m string, args ...interface{}) Err {
    	e := u.Clone()
    	if len(args) == 0 {
    		e.msg = m
    	} else {
    		e.msg = fmt.Sprintf(m, args...)
    	}
    	return e
    }
    
    // Hint - Replace the current error's message
    func (u Err) Hint(m string, args ...interface{}) Err {
    	e := u.Clone()
    	e.hint = fmt.Sprintf(m, args...)
    	return e
    }
    
    // ErrFn function wrapper
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. misc/go_android_exec/main.go

    	if err != nil {
    		return 0, fmt.Errorf("adb exec-out %s: %v", args, err)
    	}
    	return exitCode, err2
    }
    
    func adb(args ...string) error {
    	if out, err := adbCmd(args...).CombinedOutput(); err != nil {
    		fmt.Fprintf(os.Stderr, "adb %s\n%s", strings.Join(args, " "), out)
    		return err
    	}
    	return nil
    }
    
    func adbCmd(args ...string) *exec.Cmd {
    	if flags := os.Getenv("GOANDROID_ADB_FLAGS"); flags != "" {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

         */
        public static <T> T newInstance(final Constructor<T> constructor, final Object... args)
                throws InstantiationRuntimeException, IllegalAccessRuntimeException {
            assertArgumentNotNull("constructor", constructor);
    
            try {
                return constructor.newInstance(args);
            } catch (final InstantiationException e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top