Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for partlen (0.22 sec)

  1. src/net/http/cookie.go

    				return false
    			}
    			partlen++
    		case c == '.':
    			// Byte before dot cannot be dot, dash.
    			if last == '.' || last == '-' {
    				return false
    			}
    			if partlen > 63 || partlen == 0 {
    				return false
    			}
    			partlen = 0
    		}
    		last = c
    	}
    	if last == '-' || partlen > 63 {
    		return false
    	}
    
    	return ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/syscall/fs_wasip1.go

    	if path == "" {
    		return EINVAL
    	}
    	dirFd, pathPtr, pathLen := preparePath(path)
    	errno := path_unlink_file(dirFd, pathPtr, pathLen)
    	return errnoErr(errno)
    }
    
    func Rmdir(path string) error {
    	if path == "" {
    		return EINVAL
    	}
    	dirFd, pathPtr, pathLen := preparePath(path)
    	errno := path_remove_directory(dirFd, pathPtr, pathLen)
    	return errnoErr(errno)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. src/net/http/clientserver_test.go

    	}
    	res.Body.Close()
    
    	wantFoo := "bar"
    	wantLen := int64(-1)
    	if method == "OPTIONS" {
    		wantFoo = ""
    		wantLen = 0
    	}
    	if res.StatusCode != 200 {
    		t.Errorf("status code = %v; want %d", res.Status, 200)
    	}
    	if res.ContentLength != wantLen {
    		t.Errorf("content length = %v; want %d", res.ContentLength, wantLen)
    	}
    	if got := res.Header.Get("foo"); got != wantFoo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  4. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

    code, even though third parties are not compelled to copy the source
    along with the object code.
    
    4. You may not copy, modify, sublicense, or distribute the Program
    except as expressly provided under this License. Any attempt otherwise
    to copy, modify, sublicense or distribute the Program is void, and will
    automatically terminate your rights under this License. However, parties
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  5. internal/s3select/select.go

    	if s.Start == nil || s.End == nil {
    		return nil
    	}
    	if *s.Start > *s.End {
    		return errors.New("ScanRange: Start cannot be after end")
    	}
    	return nil
    }
    
    // StartLen returns start offset plus length from range.
    func (s *ScanRange) StartLen() (start, length int64, err error) {
    	if s == nil {
    		return 0, -1, nil
    	}
    	err = s.Validate()
    	if err != nil {
    		return 0, 0, err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    						_, err := disk.ReadVersion(ctx, "", minioMetaBucket,
    							o.objectPath(partN), "", ReadOptions{})
    						if err != nil {
    							time.Sleep(retryDelay250)
    							retries++
    							continue
    						}
    						break
    					}
    				}
    
    				// Load partN metadata...
    				fi, metaArr, onlineDisks, err = er.getObjectFileInfo(ctx, minioMetaBucket, o.objectPath(partN), ObjectOptions{}, true)
    				if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    	for i1, size := range sizes[partStart:] {
    		i := partStart + i1
    		if endOffset < cumulativeSum+size {
    			partEnd = i
    			break
    		}
    		cumulativeSum += size
    		encPartSize, _ := sio.EncryptedSize(uint64(size))
    		encCumulativeSum += int64(encPartSize)
    	}
    	// partEnd is always found in the loop above, because off and
    	// length are validated.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * checked exceptions.
       */
      public class CheckedBarrier extends CyclicBarrier {
        public CheckedBarrier(int parties) {
          super(parties);
        }
    
        @Override
        public int await() {
          try {
            return super.await(2 * LONG_DELAY_MS, MILLISECONDS);
          } catch (TimeoutException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  9. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

    If any provision of this Agreement is invalid or unenforceable under
    applicable law, it shall not affect the validity or enforceability of
    the remainder of the terms of this Agreement, and without further
    action by the parties hereto, such provision shall be reformed to the
    minimum extent necessary to make such provision valid and enforceable.
    
    If Recipient institutes patent litigation against any entity
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/cmd/link/link_test.go

    complicated, that no man alive knows what it means. The parties to it understand it least; but it has been observed that no two Chancery lawyers can talk about it for five minutes, without coming to a total disagreement as to all the premises. Innumerable children have been born into the cause; innumerable young people have married into it; innumerable old people have died out of it. Scores of persons have deliriously found themselves made parties in Jarndyce and Jarndyce, without knowing how or why;...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top