Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 85 for readArg (0.16 sec)

  1. src/bytes/bytes_test.go

    		}
    	}
    	return true
    }
    
    func sliceOfString(s [][]byte) []string {
    	result := make([]string, len(s))
    	for i, v := range s {
    		result[i] = string(v)
    	}
    	return result
    }
    
    // For ease of reading, the test cases use strings that are converted to byte
    // slices before invoking the functions.
    
    var abcd = "abcd"
    var faces = "☺☻☹"
    var commas = "1,2,3,4"
    var dots = "1....2....3....4"
    
    type BinOpTest struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/buildlist.go

    			// other module depends on the main module, and that other module also
    			// uses a pruned module graph, it will expect to find all of our
    			// transitive dependencies by reading just our go.mod file, not the go.mod
    			// files of everything we depend on.
    			//
    			// (This is the “import invariant” that makes graph pruning possible.)
    
    		case rootsImported && pkg.flags.has(pkgFromRoot):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

            }
        }
    
    
        @Override
        public boolean canRead () throws SmbException {
            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    
    
        @Override
        public boolean canWrite () throws SmbException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  4. src/math/rand/v2/chacha8_test.go

    			if err := p.UnmarshalBinary(out); err != nil {
    				t.Fatal(err)
    			}
    		}
    		buf := make([]byte, IntN(100))
    		if n+len(buf) > chacha8outlen {
    			buf = buf[:chacha8outlen-n]
    		}
    		n += len(buf)
    		t.Logf("reading %d bytes", len(buf))
    		if nn, err := p.Read(buf); err != nil {
    			t.Fatal(err)
    		} else if nn != len(buf) {
    			t.Errorf("Read short: got %d, expected %d", nn, len(buf))
    		}
    		h.Write(buf)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 55K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    	return nil
    }
    
    // IAMStorageAPI defines an interface for the IAM persistence layer
    type IAMStorageAPI interface {
    	// The role of the read-write lock is to prevent go routines from
    	// concurrently reading and writing the IAM storage. The (r)lock()
    	// functions return the iamCache. The cache can be safely written to
    	// only when returned by `lock()`.
    	lock() *iamCache
    	unlock()
    	rlock() *iamCache
    	runlock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  6. cmd/iam.go

    	}
    
    	select {
    	case <-sys.configLoaded:
    	default:
    		xioutil.SafeClose(sys.configLoaded)
    	}
    	return nil
    }
    
    // Init - initializes config system by reading entries from config/iam
    func (sys *IAMSys) Init(ctx context.Context, objAPI ObjectLayer, etcdClient *etcd.Client, iamRefreshInterval time.Duration) {
    	bootstrapTraceMsg("IAM initialization started")
    	globalServerConfigMu.RLock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_verification.adoc

    By default, if dependency verification fails, Gradle will generate a small summary about the verification failure as well as an HTML report containing the full information about the failures.
    If your environment prevents you from reading this HTML report file (for example if you run a build on CI and that it's not easy to fetch the remote artifacts), Gradle provides a way to opt-in a verbose console report.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:36:31 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    For any other situation, keep reading.
    
    [TIP]
    ====
    When publishing plugins, please use Gradle's built-in <<java_gradle_plugin#java_gradle_plugin,Gradle Plugin Development Plugin>>.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/cmd/internal/testdir/testdir_test.go

    // See expectFail and -f flag.
    func (t test) run() error {
    	srcBytes, err := os.ReadFile(filepath.Join(t.gorootTestDir, t.goFileName()))
    	if err != nil {
    		t.Fatal("reading test case .go file:", err)
    	} else if bytes.HasPrefix(srcBytes, []byte{'\n'}) {
    		t.Fatal(".go file source starts with a newline")
    	}
    	src := string(srcBytes)
    
    	// Execution recipe is contained in a comment in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    	}
    }
    
    // readXLMetaNoData will load the metadata, but skip data segments.
    // This should only be used when data is never interesting.
    // If data is not xlv2, it is returned in full.
    func readXLMetaNoData(r io.Reader, size int64) ([]byte, error) {
    	initial := size
    	hasFull := true
    	if initial > metaDataReadDefault {
    		initial = metaDataReadDefault
    		hasFull = false
    	}
    
    	buf := metaDataPoolGet()[:initial]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top