Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 1,336 for io (0.02 seconds)

  1. tests/connection_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/driver/mysql"
    	"gorm.io/gorm"
    )
    
    func TestWithSingleConnection(t *testing.T) {
    	expectedName := "test"
    	var actualName string
    
    	setSQL, getSQL := getSetSQL(DB.Dialector.Name())
    	if len(setSQL) == 0 || len(getSQL) == 0 {
    		return
    	}
    
    	err := DB.Connection(func(tx *gorm.DB) error {
    		if err := tx.Exec(setSQL, expectedName).Error; err != nil {
    			return err
    		}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 943 bytes
    - Click Count (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli.props;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.impl.model.DefaultInterpolator;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

     */
    package org.apache.maven.project;
    
    import javax.xml.stream.XMLInputFactory;
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamReader;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.jar.JarFile;
    import java.util.zip.ZipEntry;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. internal/config/subnet/subnet.go

    		Timeout:   10 * time.Second,
    		Transport: c.transport,
    	}
    
    	resp, err := client.Do(r)
    	if err != nil {
    		return "", err
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	respBytes, err := io.ReadAll(io.LimitReader(resp.Body, respBodyLimit))
    	if err != nil {
    		return "", err
    	}
    	respStr := string(respBytes)
    
    	if resp.StatusCode == http.StatusOK {
    		return respStr, nil
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. Makefile

    	@scp -q -r minio-release/$(GOOS)-$(GOARCH)/* ******@****.***.io:~/releases/server/minio/hotfixes/linux-$(GOOS)/
    	@scp -q -r minio-release/$(GOOS)-$(GOARCH)/* ******@****.***.io:~/releases/server/minio/hotfixes/linux-$(GOOS)/archive
    	@scp -q -r minio-release/$(GOOS)-$(GOARCH)/* ******@****.***.io:~/releases/server/minio/hotfixes/linux-$(GOOS)/
    	@scp -q -r minio-release/$(GOOS)-$(GOARCH)/* ******@****.***.io:~/releases/server/minio/hotfixes/linux-$(GOOS)/archive
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Apr 27 00:44:22 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. cmd/storage-rest-server.go

    			// 0 is unbuffered, copy the rest.
    			_, err := io.CopyBuffer(w, respBody, buf)
    			if err == io.EOF {
    				return nil
    			}
    			return err
    		case 1:
    			errorText, err := io.ReadAll(respBody)
    			if err != nil {
    				return err
    			}
    			return errors.New(string(errorText))
    		case 2:
    			// Block of data
    			var tmp [4]byte
    			_, err := io.ReadFull(respBody, tmp[:])
    			if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

    import javax.xml.stream.XMLInputFactory;
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamReader;
    
    import java.io.BufferedInputStream;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Optional;
    
    import org.apache.maven.api.xml.XmlNode;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. internal/s3select/csv/args.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package csv
    
    import (
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    const (
    	none   = "none"
    	use    = "use"
    	ignore = "ignore"
    
    	defaultRecordDelimiter      = "\n"
    	defaultFieldDelimiter       = ","
    	defaultQuoteCharacter       = `"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 20 18:31:45 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  9. src/archive/zip/reader_test.go

    	}
    	for i, f := range z.File {
    		r, err := f.Open()
    		if err != nil {
    			continue
    		}
    		if f.UncompressedSize64 < 1e6 {
    			n, err := io.Copy(io.Discard, r)
    			if i == 3 && err != io.ErrUnexpectedEOF {
    				t.Errorf("File[3] error = %v; want io.ErrUnexpectedEOF", err)
    			}
    			if err == nil && uint64(n) != f.UncompressedSize64 {
    				t.Errorf("file %d: bad size: copied=%d; want=%d", i, n, f.UncompressedSize64)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.ByteBuffer;
    import java.nio.file.Path;
    import java.util.Collection;
    import java.util.Map;
    
    import org.apache.maven.api.Service;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 6.4K bytes
    - Click Count (0)
Back to Top