Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 564 for Blocks (0.4 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            ''')
            ClassDoc classDoc = classDoc('Class', content: content)
            BlockDoc block1 = blockDoc('block1', id: 'block1', description: 'block1 description', comment: 'block1 comment', type: 'org.gradle.Type')
            BlockDoc block2 = blockDoc('block2', id: 'block2', description: 'block2 description', comment: 'block2 comment', type: 'org.gradle.Type', multivalued: true)
            _ * classDoc.classProperties >> []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PluginUseDslIntegrationSpec.groovy

            failure.assertThatCause(containsString("only buildscript {}, pluginManagement {} and other plugins {} script blocks are allowed before plugins {} blocks, no other statements are allowed"))
            includesLinkToUserguide()
        }
    
        def "settings scripts can have plugin blocks"() {
            when:
            settingsFile.text = """
              plugins {
                id "noop" version "1.0"
              }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/nilcheck_test.go

    	c := testConfig(b)
    	ptrType := c.config.Types.BytePtr
    
    	var blocs []bloc
    	blocs = append(blocs,
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Goto(blockn(0)),
    		),
    	)
    	for i := 0; i < depth; i++ {
    		blocs = append(blocs,
    			Bloc(blockn(i),
    				Valu(ptrn(i), OpAddr, ptrType, 0, nil, "sb"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	slices.Sort(filenames)
    	return filenames, nil
    }
    
    // lastBlock returns the last block in the document.
    // It panics if the document has no blocks.
    func lastBlock(doc *md.Document) md.Block {
    	return doc.Blocks[len(doc.Blocks)-1]
    }
    
    // addLines adds n lines to the position of b.
    // n can be negative.
    func addLines(b md.Block, n int) {
    	pos := position(b)
    	pos.StartLine += n
    	pos.EndLine += n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

            }
            handler.addHandler(previous -> new ExpectInAnyOrder(lock, previous, expectations));
        }
    
        /**
         * Expects the given requests to be made. Blocks until the given number of concurrent requests have been received, then releases one of the requests and blocks again.
         * Repeats until all of the requests have been received.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java

                }
            });
    
            for (int i = 0; i < blocks.size() - 1; i++) {
                Block b1 = blocks.get(i).getBlock();
                Block b2 = blocks.get(i + 1).getBlock();
                if (b1.getPos().getPos() + b1.getSize() > b2.getPos().getPos()) {
                    throw new IOException(String.format("%s overlaps with %s", b1, b2));
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/dom_test.go

    		case 0:
    			blocs = append(blocs, Bloc(blockn(i),
    				If("p", blockn(i+1), blockn(i+2))))
    		case 1:
    			blocs = append(blocs, Bloc(blockn(i),
    				If("p", blockn(i+1), blockn(i-1))))
    		}
    	}
    
    	blocs = append(blocs,
    		Bloc(blockn(size), Goto("exit")),
    		Bloc("exit", Exit("mem")),
    	)
    
    	return blocs
    }
    
    // genManyPred creates an array of blocks where 1/3rd have a successor of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/check.go

    					bb := s.Block()
    					if ln.b2l[b.ID] == nil && ln.b2l[bb.ID] != nil && bb != ln.b2l[bb.ID].header {
    						f.Fatalf("block %s not in loop branches to non-header block %s in loop", b.String(), bb.String())
    					}
    					if ln.b2l[b.ID] != nil && ln.b2l[bb.ID] != nil && bb != ln.b2l[bb.ID].header && !ln.b2l[b.ID].isWithinOrEq(ln.b2l[bb.ID]) {
    						f.Fatalf("block %s in loop branches to non-header block %s in non-containing loop", b.String(), bb.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/func_test.go

    	// Create all the blocks and values.
    	for _, bloc := range blocs {
    		b := f.NewBlock(bloc.control.kind)
    		blocks[bloc.name] = b
    		for _, valu := range bloc.valus {
    			// args are filled in the second pass.
    			values[valu.name] = b.NewValue0IA(src.NoXPos, valu.op, valu.t, valu.auxint, valu.aux)
    		}
    	}
    	// Connect the blocks together and specify control values.
    	f.Entry = blocks[entry]
    	for _, bloc := range blocs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // Now load a different block of file "a" at timestamp `now` + 1. When the
      // first block of "a" expires, this block should also be removed because it
      // also belongs to file "a".
      TF_EXPECT_OK(ReadCache(&cache, "a", 8, 1, &out));
      // Ensure that all blocks are in the cache (i.e. reads are cache hits).
      EXPECT_EQ(cache.CacheSize(), 24);
      EXPECT_EQ(calls, 3);
      TF_EXPECT_OK(ReadCache(&cache, "a", 0, 1, &out));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
Back to top