Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for newsize (0.27 sec)

  1. src/testing/testing.go

    			// Found a frame that wasn't inside a helper function.
    			return frame
    		}
    	}
    	return firstFrame
    }
    
    // decorate prefixes the string with the file and line of the call site
    // and inserts the final newline if needed and indentation spaces for formatting.
    // This function must be called with c.mu held.
    func (c *common) decorate(s string, skip int) string {
    	frame := c.frameSkip(skip)
    	file := frame.File
    	line := frame.Line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    			norun = "[-fuzz matches more than one fuzz test, won't fuzz]"
    		}
    		if len(out) > 0 && !bytes.HasSuffix(out, []byte("\n")) {
    			// Ensure that the output ends with a newline before the "ok"
    			// line we're about to print (https://golang.org/issue/49317).
    			cmd.Stdout.Write([]byte("\n"))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

        Returns:
          Total size of the directory or a file.
        """
        total = 0
        for root, _, files in os.walk(path):
          for filename in files:
            total += os.path.getsize(os.path.join(root, filename))
        return total
    
      def _any_log_contains(
          self, substring: str, log_record_list: List['logging.LogRecord']
      ) -> bool:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  4. pkg/apis/admissionregistration/validation/validation.go

    				allErrors = append(allErrors, field.InternalError(fldPath.Child("valueExpression"), result.Error))
    			}
    		}
    	}
    	return allErrors
    }
    
    var newlineMatcher = regexp.MustCompile(`[\n\r]+`) // valid newline chars in CEL grammar
    func hasNewlines(s string) bool {
    	return newlineMatcher.MatchString(s)
    }
    
    // ValidateValidatingAdmissionPolicyBinding validates a ValidatingAdmissionPolicyBinding before create.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_attacher_test.go

    				if err != nil {
    					t.Fatalf("failed to attach: %v", err)
    				}
    			}
    
    			parent := filepath.Dir(tc.deviceMountPath)
    			filePath := filepath.Join(parent, "newfile")
    			if tc.populateDeviceMountPath {
    				// We need to create the deviceMountPath before we Mount,
    				// so that we can correctly create the file without errors.
    				err := os.MkdirAll(tc.deviceMountPath, 0750)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

                                tflite::Model::Pack(input_builder, model));
    
      const std::string input_buffer(
          reinterpret_cast<const char*>(input_builder.GetBufferPointer()),
          input_builder.GetSize());
      auto status = mlir::lite::QuantizeModel(
          input_buffer, input_type, output_type, inference_tensor_type,
          /*operator_names=*/{}, disable_per_channel, fully_quantize, output_buffer,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  7. src/reflect/type.go

    	}
    
    	etyp := typ
    	esize := etyp.Size()
    
    	array.Equal = nil
    	if eequal := etyp.Equal; eequal != nil {
    		array.Equal = func(p, q unsafe.Pointer) bool {
    			for i := 0; i < length; i++ {
    				pi := arrayAt(p, i, esize, "i < length")
    				qi := arrayAt(q, i, esize, "i < length")
    				if !eequal(pi, qi) {
    					return false
    				}
    
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        auto input = op.getImages();
        auto input_ty = mlir::cast<ShapedType>(input.getType());
        auto input_element_ty = input_ty.getElementType();
        auto out_size = op.getSize();
        auto out_size_ty = mlir::cast<ShapedType>(out_size.getType());
        auto out_size_element_ty = out_size_ty.getElementType();
    
        // Input should be rank 4.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  9. src/net/http/fs_test.go

    // for TestLinuxSendfile.
    func TestLinuxSendfileChild(*testing.T) {
    	if os.Getenv("GO_WANT_HELPER_PROCESS") != "1" {
    		return
    	}
    	defer os.Exit(0)
    	fd3 := os.NewFile(3, "ephemeral-port-listener")
    	ln, err := net.FileListener(fd3)
    	if err != nil {
    		panic(err)
    	}
    	mux := NewServeMux()
    	mux.Handle("/", FileServer(Dir(os.TempDir())))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  10. src/go/printer/testdata/parser.go

    	msg = "expected " + msg
    	if pos == p.pos {
    		// the error happened at the current position;
    		// make the error message more specific
    		if p.tok == token.SEMICOLON && p.lit[0] == '\n' {
    			msg += ", found newline"
    		} else {
    			msg += ", found '" + p.tok.String() + "'"
    			if p.tok.IsLiteral() {
    				msg += " " + p.lit
    			}
    		}
    	}
    	p.error(pos, msg)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
Back to top