Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 202 for Idx (0.03 sec)

  1. cmd/admin-handlers_test.go

    				}
    			}
    		}
    		return 0, true
    	}
    
    	for i, tc := range testCases {
    		got := topLockEntries(tc.peerLocks, false)
    		if idx, ok := check(tc.expected, got); !ok {
    			t.Fatalf("%d: mismatch at %d \n expected %#v but got %#v", i, idx, tc.expected[idx], got[idx])
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (1)
  2. cmd/object-api-utils_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			r.Close()
    			idx := idxCB()
    			if !tt.wantIdx && len(idx) > 0 {
    				t.Errorf("index returned above threshold")
    			}
    			if tt.wantIdx {
    				if idx == nil {
    					t.Errorf("no index returned")
    				}
    				var index s2.Index
    				_, err = index.Load(s2.RestoreIndexHeaders(idx))
    				if err != nil {
    					t.Errorf("error loading index: %v", err)
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

             * @return a flag if the lines should be combined
             */
            private static boolean checkCombineLines(String line) {
                int bsCount = 0;
                for (int idx = line.length() - 1; idx >= 0 && line.charAt(idx) == '\\'; idx--) {
                    bsCount++;
                }
    
                return bsCount % 2 != 0;
            }
    
            /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 09:03:48 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

             * @return a flag if the lines should be combined
             */
            private static boolean checkCombineLines(String line) {
                int bsCount = 0;
                for (int idx = line.length() - 1; idx >= 0 && line.charAt(idx) == '\\'; idx--) {
                    bsCount++;
                }
    
                return bsCount % 2 != 0;
            }
    
            /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 38.4K bytes
    - Viewed (0)
  5. cmd/erasure.go

    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	permutes := r.Perm(len(buckets))
    	// Add new buckets first
    	for _, idx := range permutes {
    		b := buckets[idx]
    		if e := oldCache.find(b.Name); e == nil {
    			bucketCh <- b
    		}
    	}
    	for _, idx := range permutes {
    		b := buckets[idx]
    		if e := oldCache.find(b.Name); e != nil {
    			cache.replace(b.Name, dataUsageRoot, *e)
    			bucketCh <- b
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    			return
    		}
    		// Close the stream.
    		// If more than compMinIndexSize was written, generate index.
    		if cn > compMinIndexSize {
    			idx, err := comp.CloseIndex()
    			idx = s2.RemoveIndexHeaders(idx)
    			indexCh <- idx
    			pw.CloseWithError(err)
    			return
    		}
    		pw.CloseWithError(comp.Close())
    	}()
    	var gotIdx []byte
    	return pr, func() []byte {
    		if gotIdx != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 0); // idx, _name_bufferp = 0
                when(mockNdrBuffer.dec_ndr_short()).thenReturn(0, 0); // length, maximum_length
    
                // When: Decoding entry
                entry.decode(mockNdrBuffer);
    
                // Then: Should have null buffer
                assertEquals(1, entry.idx);
                assertNotNull(entry.name);
                assertNull(entry.name.buffer);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  8. cmd/s3-zip-handlers.go

    func splitZipExtensionPath(input string) (zipPath, object string, err error) {
    	idx := strings.Index(input, archivePattern)
    	if idx < 0 {
    		// Should never happen
    		return "", "", errors.New("unable to parse zip path")
    	}
    	return input[:idx+len(archivePattern)-1], input[idx+len(archivePattern):], nil
    }
    
    // getObjectInArchiveFileHandler - GET Object in the archive file
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         */
        public String getCanonicalSessionId(final String sessionId) {
            final int idx = sessionId.indexOf('-');
            if (idx >= 0) {
                return sessionId.substring(0, idx);
            }
            return sessionId;
        }
    
        /**
         * Stores crawling information and parameters for the specified session.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. clause/where_test.go

    						},
    					}),
    				}}},
    			"SELECT * FROM `users` WHERE NOT ((`users`.`id` = ? AND `age` > ?) OR `score` < ?)",
    			[]interface{}{"1", 18, 100},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top