Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for zero (0.07 sec)

  1. src/archive/tar/strconv.go

    	}
    	return int64(x)
    }
    
    func (f *formatter) formatOctal(b []byte, x int64) {
    	if !fitsInOctal(len(b), x) {
    		x = 0 // Last resort, just write zero
    		f.err = ErrFieldTooLong
    	}
    
    	s := strconv.FormatInt(x, 8)
    	// Add leading zeros, but leave room for a NUL.
    	if n := len(b) - len(s) - 1; n > 0 {
    		s = strings.Repeat("0", n) + s
    	}
    	f.formatString(b, s)
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. docs/en/data/topic_repos.yml

    - name: langcorn
      html_url: https://github.com/msoedov/langcorn
      stars: 933
      owner_login: msoedov
      owner_html_url: https://github.com/msoedov
    - name: fastapi-do-zero
      html_url: https://github.com/dunossauro/fastapi-do-zero
      stars: 892
      owner_login: dunossauro
      owner_html_url: https://github.com/dunossauro
    - name: marker-api
      html_url: https://github.com/adithya-s-k/marker-api
      stars: 890
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:57:41 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. statement.go

    					if destField := descSchema.LookUpField(field.DBName); destField != nil {
    						changedValue, zero := destField.ValueOf(stmt.Context, destValue)
    						if v {
    							return !utils.AssertEqual(changedValue, fieldValue)
    						}
    						return !zero && !utils.AssertEqual(changedValue, fieldValue)
    					}
    				}
    			}
    		}
    		return false
    	}
    
    	if len(fields) == 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/bufio/bufio.go

    )
    
    // Buffered input.
    
    // Reader implements buffering for an io.Reader object.
    // A new Reader is created by calling [NewReader] or [NewReaderSize];
    // alternatively the zero value of a Reader may be used after calling [Reset]
    // on it.
    type Reader struct {
    	buf          []byte
    	rd           io.Reader // reader provided by the client
    	r, w         int       // buf read and write positions
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyList())
            .createTestSuite();
      }
    
      public Test testsForSingletonList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(1L, crawlerContext.getAccessCount());
    
            assertEquals(0L, crawlerContext.decrementAndGetAccessCount());
            assertEquals(0L, crawlerContext.getAccessCount());
    
            // Test decrement below zero
            assertEquals(-1L, crawlerContext.decrementAndGetAccessCount());
            assertEquals(-1L, crawlerContext.getAccessCount());
        }
    
        /**
         * Test concurrent access count operations
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    // The count determines the number of subslices to return:
    //   - n > 0: at most n subslices; the last subslice will be the unsplit remainder;
    //   - n == 0: the result is nil (zero subslices);
    //   - n < 0: all subslices.
    //
    // To split around the first instance of a separator, see [Cut].
    func SplitN(s, sep []byte, n int) [][]byte { return genSplit(s, sep, 0, n) }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    	uploadID, _, _, _, s3Error := getObjectResources(r.Form)
    	if s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Content-Length is required and should be non-zero
    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingPart), r.URL)
    		return
    	}
    
    	complMultipartUpload := &CompleteMultipartUpload{}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    		if _, _, err := rs.GetOffsetLength(objInfo.Size); err != nil {
    			// Make sure to return object info to provide extra information.
    			return &GetObjectReader{
    				ObjInfo: objInfo,
    			}, err
    		}
    
    		// Zero byte objects don't even need to further initialize pipes etc.
    		return NewGetObjectReaderFromReader(bytes.NewReader(nil), objInfo, opts)
    	}
    
    	if objInfo.IsRemote() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    	if !opts.NoAuditLog {
    		auditObjectErasureSet(ctx, "PutObjectPart", object, &er)
    	}
    
    	data := r.Reader
    	// Validate input data size and it can never be less than zero.
    	if data.Size() < -1 {
    		bugLogIf(ctx, errInvalidArgument, logger.ErrorKind)
    		return pi, toObjectErr(errInvalidArgument)
    	}
    
    	uploadIDPath := er.getUploadIDDir(bucket, object, uploadID)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
Back to top