Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for writeQString (0.08 sec)

  1. cmd/storage-datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "Scanning")
    		return
    	}
    	err = en.WriteString(z.Endpoint)
    	if err != nil {
    		err = msgp.WrapError(err, "Endpoint")
    		return
    	}
    	err = en.WriteString(z.MountPath)
    	if err != nil {
    		err = msgp.WrapError(err, "MountPath")
    		return
    	}
    	err = en.WriteString(z.ID)
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    }
    
    func (w *teststringwriter) WriteString(s string) (int, error) {
    	w.writeString += s
    	return len(s), nil
    }
    
    func (w *teststringwriter) check(t *testing.T, write, writeString string) {
    	t.Helper()
    	if w.write != write {
    		t.Errorf("write: expected %q, got %q", write, w.write)
    	}
    	if w.writeString != writeString {
    		t.Errorf("writeString: expected %q, got %q", writeString, w.writeString)
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

            Path mavenUserProps = mavenConf.resolve("maven.properties");
            Files.writeString(mavenUserProps, "${includes} = ?\"/user/ma ven.properties\",  ?/foo/bar\n");
            Path userDirectory = fs.getPath("/user");
            Files.createDirectories(userDirectory);
            Path propsPath = userDirectory.resolve("ma ven.properties");
            Files.writeString(propsPath, "${includes} = another.properties\nfro = ${bar}z\n");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                              </dependency>
                            </dependencies>
    
                        </project>
                        """;
            Path pom = cwd.resolve("pom.xml").toAbsolutePath();
            Files.writeString(pom, pomString);
    
            String appJavaString =
                    """
                    package org.apache.maven.samples.sample;
    
                    public class App {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. cmd/mrf_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Bucket)
    	if err != nil {
    		err = msgp.WrapError(err, "Bucket")
    		return
    	}
    	// write "Object"
    	err = en.Append(0xa6, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Object)
    	if err != nil {
    		err = msgp.WrapError(err, "Object")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. internal/config/config.go

    func (cs *SubsysInfo) AddEnvString(b *strings.Builder) {
    	for _, v := range cs.Defaults {
    		if ep, ok := cs.EnvMap[v.Key]; ok {
    			b.WriteString(KvComment)
    			b.WriteString(KvSpaceSeparator)
    			b.WriteString(ep.Name)
    			b.WriteString(EnvSeparator)
    			b.WriteString(ep.Value)
    			b.WriteString(KvNewline)
    		}
    	}
    }
    
    // WriteTo writes the string representation of the configuration to the given
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    	case *types.Signature:
    		buf.WriteString("func")
    		w.writeSignature(buf, typ)
    
    	case *types.Interface:
    		buf.WriteString("interface{")
    		if typ.NumMethods() > 0 || typ.NumEmbeddeds() > 0 {
    			buf.WriteByte(' ')
    		}
    		if typ.NumMethods() > 0 {
    			buf.WriteString(strings.Join(sortedMethodNames(typ), ", "))
    		}
    		if typ.NumEmbeddeds() > 0 {
    			buf.WriteString(strings.Join(w.sortedEmbeddeds(typ), ", "))
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  8. internal/disk/stat_test.go

    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			tmpfile, err := os.CreateTemp("", "testfile")
    			if err != nil {
    				t.Error(err)
    			}
    			tmpfile.WriteString(testCase.stat)
    			tmpfile.Sync()
    			tmpfile.Close()
    
    			iostats, err := readDriveStats(tmpfile.Name())
    			if err != nil && !testCase.expectErr {
    				t.Fatalf("unexpected err; %v", err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v1_gen.go

    		if err != nil {
    			err = msgp.WrapError(err, "Checksums")
    			return
    		}
    		for za0001, za0002 := range z.Checksums {
    			err = en.WriteString(za0001)
    			if err != nil {
    				err = msgp.WrapError(err, "Checksums")
    				return
    			}
    			err = en.WriteString(za0002)
    			if err != nil {
    				err = msgp.WrapError(err, "Checksums", za0001)
    				return
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    		}
    		fmt.Fprintf(&sb, "_cgo%d", i)
    	}
    	sb.WriteString("); ")
    	if call.Deferred {
    		sb.WriteString("}")
    	}
    	sb.WriteString("}")
    	if call.Deferred {
    		sb.WriteString("()")
    	}
    	sb.WriteString("()")
    
    	return sb.String(), needsUnsafe
    }
    
    // needsPointerCheck reports whether the type t needs a pointer check.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top